All containers now have a health check

This commit is contained in:
Shaun Collins
2026-03-13 14:25:45 +00:00
committed by shaun collins
parent 20dcdfdb30
commit 2fed95bfd7
2 changed files with 10 additions and 5 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ services:
volumes: volumes:
- ./Prowlarr/config:/config - ./Prowlarr/config:/config
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9696/api/v1/health"] test: ["CMD", "curl", "-f", "http://localhost:9696"]
start_period: 30s start_period: 30s
timeout: 5s timeout: 5s
interval: 30s interval: 30s
+9 -4
View File
@@ -9,14 +9,19 @@ services:
ports: ports:
- '80:80' - '80:80'
- '81:81' - '81:81'
- '443:443' - '443:443'
volumes: volumes:
- ./data:/data - ./data:/data
- ./letsencrypt:/etc/letsencrypt - ./letsencrypt:/etc/letsencrypt
networks: networks:
- lingen - lingen
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:81/api/version/check"]
interval: 30s
timeout: 5s
start_period: 40s
retries: 3
networks: networks:
lingen: lingen:
driver: bridge driver: bridge