mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-14 16:55:42 +00:00
Update docker compose file examples
This commit is contained in:
parent
b8ae221987
commit
d1fc425f48
@ -11,6 +11,7 @@ services:
|
|||||||
- "./app:/home/nopaque/app"
|
- "./app:/home/nopaque/app"
|
||||||
- "./boot.sh:/home/nopaque/boot.sh"
|
- "./boot.sh:/home/nopaque/boot.sh"
|
||||||
- "./config.py:/home/nopaque/config.py"
|
- "./config.py:/home/nopaque/config.py"
|
||||||
|
- "./docker-entrypoint.sh:/home/nopaque/docker-entrypoint.sh"
|
||||||
- "./migrations:/home/nopaque/migrations"
|
- "./migrations:/home/nopaque/migrations"
|
||||||
- "./nopaque.py:/home/nopaque/nopaque.py"
|
- "./nopaque.py:/home/nopaque/nopaque.py"
|
||||||
- "./requirements.txt:/home/nopaque/requirements.txt"
|
- "./requirements.txt:/home/nopaque/requirements.txt"
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
################################################################################
|
|
||||||
# Don't forget to set the proxy variables in your nopaque.env #
|
|
||||||
# Traefik sets the X_FOR, X_HOST, X_PORT and X_PROTO headers by default #
|
|
||||||
################################################################################
|
|
||||||
version: "3.5"
|
version: "3.5"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
@ -11,6 +7,12 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
nopaque:
|
nopaque:
|
||||||
|
environment:
|
||||||
|
- NOPAQUE_PROXY_FIX_X_FOR=1
|
||||||
|
- NOPAQUE_PROXY_FIX_X_HOST=1
|
||||||
|
- NOPAQUE_PROXY_FIX_X_PORT=1
|
||||||
|
- NOPAQUE_PROXY_FIX_X_PREFIX=0
|
||||||
|
- NOPAQUE_PROXY_FIX_X_PROTO=1
|
||||||
labels:
|
labels:
|
||||||
- "traefik.docker.network=traefik"
|
- "traefik.docker.network=traefik"
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
Loading…
Reference in New Issue
Block a user