TraefikIntegration #5
@ -12,6 +12,16 @@ services:
|
||||
- bitwarden
|
||||
depends_on:
|
||||
- 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
|
||||
|
||||
networks:
|
||||
|
Loading…
Reference in New Issue
Block a user