traefik add update config

This commit is contained in:
krisz 2025-04-20 14:10:35 +02:00
parent be5c2b0d29
commit fa0cacc9b0

View File

@ -85,6 +85,13 @@ services:
- traefik.http.routers.traefik-metrics.entrypoints=https - traefik.http.routers.traefik-metrics.entrypoints=https
- traefik.http.routers.traefik-metrics.middlewares=local - traefik.http.routers.traefik-metrics.middlewares=local
- traefik.http.routers.traefik-metrics.service=prometheus@internal - traefik.http.routers.traefik-metrics.service=prometheus@internal
update_config:
order: "start-first"
max_failure_ratio: 2
parallelism: 1
rollback_config:
parallelism: 1
order: "start-first"
volumes: volumes:
# Add Docker as a mounted volume, so that Traefik can read the labels of other services # Add Docker as a mounted volume, so that Traefik can read the labels of other services
- traefik-certificates:/certificates - traefik-certificates:/certificates