fix traefik

This commit is contained in:
Mickael PAPAMICA Asseline
2024-06-07 09:03:06 +02:00
parent 2466a44a59
commit 3eba115948

View File

@@ -34,11 +34,13 @@ services:
- GENERIC_TIMEZONE=Europe/Paris
labels:
- "autoupdate=monitor" # https://github.com/PAPAMICA/container-updater
- traefik.enable=true
- traefik.http.routers.$SERVICE.rule=Host(`$URL`)
- traefik.http.routers.$SERVICE.entryPoints=http
- traefik.docker.network=$NETWORK
- traefik.http.services.$SERVICE.loadbalancer.server.port=5678
- "traefik.enable=true"
- "traefik.http.routers.$SERVICE.entrypoints=https"
- "traefik.http.routers.$SERVICE.rule=Host(`$URL`)"
- "traefik.http.routers.$SERVICE.tls=true"
- "traefik.http.routers.$SERVICE.tls.certresolver=http"
- "traefik.docker.network=$NETWORK"
- "traefik.http.services.$SERVICE.loadbalancer.server.port=5678"
networks:
- default