This commit is contained in:
2026-06-05 14:46:40 +03:00
parent f15f2f5e83
commit fe0ec9dd03
2 changed files with 23 additions and 4 deletions
+8 -2
View File
@@ -6,13 +6,19 @@ services:
# Traefik replaces nginx-proxy-manager on 80/443. Decommission NPM before
# deploying this (both can't bind 80/443). UDP/443 (SMB-over-QUIC) is NOT
# handled here — the router forwards UDP/443 straight to serverfile.
#
# NOTE: absolute host paths (NOT ./relative). Portainer GitOps runs compose
# with paths relative to its own container (/data/compose/<id>/...), which
# the Docker daemon can't resolve — relative mounts silently become empty
# dirs. Config files live on the host; keep them in sync with this repo's
# traefik.yml / dynamic/ (source of truth).
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./traefik.yml:/etc/traefik/traefik.yml:ro,z
- ./dynamic:/etc/traefik/dynamic:ro,z
- /mnt/containers/traefik/container-data/traefik.yml:/etc/traefik/traefik.yml:ro,z
- /mnt/containers/traefik/container-data/dynamic:/etc/traefik/dynamic:ro,z
- /mnt/containers/traefik/container-data/acme:/acme:z
networks:
- reverseproxy-nw