Traefik define routing networks

This commit is contained in:
2024-01-22 18:56:17 +01:00
parent 437ba4f04c
commit 68307a9f52
23 changed files with 35 additions and 4 deletions

View File

@ -55,6 +55,7 @@ services:
restart: always
labels:
- "traefik.enable=true"
- "traefik.docker.network=${COMPOSE_PROJECT_NAME}_default"
- "traefik.http.routers.hedgedoc.rule=Host(`doc.tobiasmanske.de`)"
- "traefik.http.routers.hedgedoc.middlewares=deny-metrics@file"
- "traefik.http.routers.hedgedoc.entryPoints=websecure"