feat: add healthcheck for docker compose services

This commit is contained in:
2026-07-31 10:49:26 +03:00
parent c4203eb308
commit 62af6a6315
+6
View File
@@ -26,6 +26,12 @@ services:
- "traefik.http.middlewares.qbittorrent-headers.headers.stspreload=true" - "traefik.http.middlewares.qbittorrent-headers.headers.stspreload=true"
- "traefik.http.middlewares.qbittorrent-headers.headers.stsseconds=31536000" - "traefik.http.middlewares.qbittorrent-headers.headers.stsseconds=31536000"
restart: unless-stopped restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:8080/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
networks: networks:
traefik_proxy: traefik_proxy: