documentation

This commit is contained in:
olli 2023-05-09 10:57:14 +02:00
parent e66a26d31c
commit 34ab8b2790

View File

@ -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: