Add support for an overrides file
This commit is contained in:
parent
19da0361f7
commit
d3b6450854
7 changed files with 24 additions and 0 deletions
|
|
@ -4,6 +4,9 @@
|
|||
# The target path to redirect to
|
||||
TARGET=https://gitlab.cs.fau.de/AGFD/wisski-distillery
|
||||
|
||||
# path to .json
|
||||
SELF_OVERRIDES_FILE=/overrides.json
|
||||
|
||||
#######################
|
||||
### Web Server settings
|
||||
#######################
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ services:
|
|||
tr:
|
||||
image: tkw01536/tr
|
||||
restart: always
|
||||
volumes:
|
||||
- "${OVERRIDES_FILE}:/overrides.json:ro"
|
||||
environment:
|
||||
# port and hostname for this image to use
|
||||
VIRTUAL_HOST: ${VIRTUAL_HOST}
|
||||
|
|
@ -13,6 +15,9 @@ services:
|
|||
LETSENCRYPT_HOST: ${LETSENCRYPT_HOST}
|
||||
LETSENCRYPT_EMAIL: ${LETSENCRYPT_EMAIL}
|
||||
|
||||
# the overrides file
|
||||
OVERRIDES: /overrides.json
|
||||
|
||||
# where to redirect to
|
||||
TARGET: ${TARGET}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue