services/vaultwarden/docker-compose.traefik.yml

14 lines
427 B
YAML

---
networks:
default:
name: ${TRAEFIK_NETWORK_NAME:-traefik}
external: true
services:
vaultwarden:
labels:
- traefik.enable=true
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vaultwarden}.rule=Host(`${VAULTWARDEN_DOMAIN:?err}`)
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-vaultwarden}.entrypoints=${TRAEFIK_ENTRYPOINTS:-web}