mirror of
https://gitea.zaclys.com/yannic/selfhosting.git
synced 2026-04-25 17:00:40 +02:00
traefik
This commit is contained in:
@@ -2,7 +2,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
traefik:
|
||||
container_name: traefik
|
||||
container_name: traefik-local
|
||||
image: traefik:v2.5.3
|
||||
ports:
|
||||
- 80:80
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user