Admin via Proxy

This commit is contained in:
Tobias Manske 2024-02-23 18:30:07 +01:00
parent d9ceff767c
commit 847ccd7ac8
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -32,11 +32,13 @@ services:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.vault.rule=Host(`vault.unruhig.eu`)"
# - "traefik.http.routers.vault.middlewares=deny-metrics@file"
- "traefik.http.routers.vault.entryPoints=websecure"
- "traefik.http.routers.vault.service=vault"
- "traefik.http.services.vault.loadbalancer.server.port=8080"
# - "prometheus-scrape.enabled=true"
# - "prometheus-scrape.port=3000"
- "traefik.http.routers.vaultwarden-admin.service=vault"
- "traefik.http.routers.vaultwarden-admin.rule=Host(`vault.unruhig.eu`) && PathPrefix(`/admin`)"
- "traefik.http.routers.vaultwarden-admin.entryPoints=websecure"
- "traefik.http.routers.vaultwarden-admin.middlewares=vpn-ipwhitelist@file"
depends_on:
db:
condition: service_healthy