TraefikIntegration #5

Merged
luke-else merged 43 commits from TraefikIntegration into master 2023-08-08 19:50:40 +00:00
Showing only changes of commit 86349c4b76 - Show all commits

View File

@ -12,6 +12,16 @@ services:
- bitwarden - bitwarden
depends_on: depends_on:
- traefik - traefik
labels:
## Expose Bitwarden Through Trefik ##
- "traefik.enable=true" # <== Enable traefik to proxy this container
- "traefik.http.routers.containername.rule=Host(`bitwarden.luke-else.co.uk`) || Host(`www.bitwarden.luke-else.co.uk`)"
- "traefik.http.routers.containername.entrypoints=http"
- "traefik.http.routers.containername.middlewares=redirect@file"
- "traefik.http.routers.containername-secured.rule=Host(`bitwarden.luke-else.co.uk`) || Host(`www.bitwarden.luke-else.co.uk`)"
- "traefik.http.routers.containername-secured.entrypoints=https"
- "traefik.http.routers.containername-secured.tls.certresolver=mytlschallenge"
restart: unless-stopped restart: unless-stopped
networks: networks: