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:
|
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,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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user