This commit is contained in:
Yax 2021-11-14 16:26:57 +01:00
parent 691b920e67
commit a59b36f126
2 changed files with 1 additions and 8 deletions

View file

@ -2,7 +2,7 @@ version: '3'
services:
traefik:
container_name: traefik
container_name: traefik-local
image: traefik:v2.5.3
ports:
- 80:80

View file

@ -21,13 +21,6 @@ services:
environment:
- GANDIV5_API_KEY=${GANDIV5_API_KEY}
labels:
#- traefik.enable=true
# - traefik.http.routers.api.rule=Host(`${HOST_TRAEFIK}.${DOMAIN}`)
# - traefik.http.routers.api.entrypoints=http
# - traefik.http.routers.api.entrypoints=https
# - traefik.http.routers.api.service=api@internal
# - traefik.http.routers.api.middlewares=auth
# - traefik.http.middlewares.auth.basicauth.users=${BASIC_AUTH}
# request widlcard certificate
- traefik.http.routers.api.tls.certresolver=letsencrypt
- traefik.http.routers.api.tls.domains[0].main=${DOMAIN}