documentation
This commit is contained in:
parent
e66a26d31c
commit
34ab8b2790
@ -75,6 +75,7 @@ services:
|
|||||||
|
|
||||||
dabo-web:
|
dabo-web:
|
||||||
labels:
|
labels:
|
||||||
|
- traefik.enable=true
|
||||||
# DOMAIN
|
# DOMAIN
|
||||||
- traefik.http.routers.dabo-YOURINSTANCENAME.rule=Host(`YOURDOMAIN`)
|
- traefik.http.routers.dabo-YOURINSTANCENAME.rule=Host(`YOURDOMAIN`)
|
||||||
- traefik.http.routers.dabo-YOURINSTANCENAME.entrypoints=https
|
- traefik.http.routers.dabo-YOURINSTANCENAME.entrypoints=https
|
||||||
@ -85,9 +86,9 @@ services:
|
|||||||
# cert via letsencrypt
|
# cert via letsencrypt
|
||||||
- traefik.http.routers.dabo-YOURINSTANCENAME.tls.certresolver=letsencrypt
|
- traefik.http.routers.dabo-YOURINSTANCENAME.tls.certresolver=letsencrypt
|
||||||
# activate secHeaders@file & basic auth
|
# activate secHeaders@file & basic auth
|
||||||
- traefik.http.routers.dabo-YOURINSTANCENAME.middlewares=secHeaders@file,basicauth
|
- traefik.http.routers.dabo-YOURINSTANCENAME.middlewares=secHeaders@file,dabo-YOURINSTANCENAME-basicauth
|
||||||
# Generate crypted password string with: echo $(htpasswd -nB YOURUSER) | sed -e s/\\$/\\$\\$/g
|
# Generate crypted password string with: echo $(htpasswd -nB YOURUSER) | sed -e s/\\$/\\$\\$/g
|
||||||
- traefik.http.middlewares.dabo-YOURINSTANCENAME.basicauth.users=YOURUSER:YOUR-GENERATED-CRYPTED-PASSWORD-STRING
|
- traefik.http.middlewares.dabo-YOURINSTANCENAME-basicauth.basicauth.users=YOURUSER:YOUR-GENERATED-CRYPTED-PASSWORD-STRING
|
||||||
# Traefik network
|
# Traefik network
|
||||||
- traefik.docker.network=traefik
|
- traefik.docker.network=traefik
|
||||||
networks:
|
networks:
|
||||||
|
Loading…
Reference in New Issue
Block a user