2024-08-01 15:34:58 +02:00
|
|
|
---
|
|
|
|
|
|
|
|
services:
|
|
|
|
vaultwarden:
|
|
|
|
labels:
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vaultwarden}.tls.certResolver=letsencrypt
|
|
|
|
# redirect HTTP to HTTPS
|
2024-10-01 10:49:32 +02:00
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vaultwarden}_http.rule=Host(`${SERVICE_DOMAIN:?err}`)
|
2024-08-01 15:34:58 +02:00
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vaultwarden}_http.entrypoints=web
|
|
|
|
- traefik.http.middlewares.${TRAEFIK_ROUTER_NAME:-vaultwarden}_redirect_https.redirectscheme.scheme=https
|
|
|
|
- traefik.http.middlewares.${TRAEFIK_ROUTER_NAME:-vaultwarden}_redirect_https.redirectscheme.permanent=true
|
|
|
|
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vaultwarden}_http.middlewares=${TRAEFIK_ROUTER_NAME:-vaultwarden}_redirect_https
|