Skip to content
Snippets Groups Projects
Commit d1fc425f authored by Patrick Jentsch's avatar Patrick Jentsch
Browse files

Update docker compose file examples

parent b8ae2219
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ services:
- "./app:/home/nopaque/app"
- "./boot.sh:/home/nopaque/boot.sh"
- "./config.py:/home/nopaque/config.py"
- "./docker-entrypoint.sh:/home/nopaque/docker-entrypoint.sh"
- "./migrations:/home/nopaque/migrations"
- "./nopaque.py:/home/nopaque/nopaque.py"
- "./requirements.txt:/home/nopaque/requirements.txt"
......
################################################################################
# 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"
networks:
......@@ -11,6 +7,12 @@ networks:
services:
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:
- "traefik.docker.network=traefik"
- "traefik.enable=true"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment