All containers now have a health check
This commit is contained in:
committed by
shaun collins
parent
20dcdfdb30
commit
2fed95bfd7
@@ -86,7 +86,7 @@ services:
|
||||
volumes:
|
||||
- ./Prowlarr/config:/config
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9696/api/v1/health"]
|
||||
test: ["CMD", "curl", "-f", "http://localhost:9696"]
|
||||
start_period: 30s
|
||||
timeout: 5s
|
||||
interval: 30s
|
||||
|
||||
@@ -9,14 +9,19 @@ services:
|
||||
ports:
|
||||
- '80:80'
|
||||
- '81:81'
|
||||
|
||||
- '443:443'
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./letsencrypt:/etc/letsencrypt
|
||||
networks:
|
||||
- lingen
|
||||
- lingen
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:81/api/version/check"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
start_period: 40s
|
||||
retries: 3
|
||||
|
||||
networks:
|
||||
lingen:
|
||||
driver: bridge
|
||||
|
||||
|
||||
Reference in New Issue
Block a user