Update docker compose file examples

This commit is contained in:
Patrick Jentsch
2023-09-26 15:02:02 +02:00
parent b8ae221987
commit d1fc425f48
2 changed files with 7 additions and 4 deletions

View File

@ -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"
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"