container healthchecks..
This commit is contained in:
@@ -4,6 +4,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./data/db:/opt/app/data/db
|
- ./data/db:/opt/app/data/db
|
||||||
depends_on:
|
depends_on:
|
||||||
|
apprise:
|
||||||
|
condition: service_healthy
|
||||||
|
links:
|
||||||
- apprise
|
- apprise
|
||||||
apprise:
|
apprise:
|
||||||
image: caronc/apprise:latest
|
image: caronc/apprise:latest
|
||||||
@@ -19,7 +22,12 @@ services:
|
|||||||
- ./data/apprise/attach:/attach
|
- ./data/apprise/attach:/attach
|
||||||
ports:
|
ports:
|
||||||
- 8000:8000
|
- 8000:8000
|
||||||
networks:
|
healthcheck:
|
||||||
default:
|
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
|
||||||
external: true
|
interval: 30s
|
||||||
name: npm
|
timeout: 10s
|
||||||
|
retries: 5
|
||||||
|
# networks:
|
||||||
|
# default:
|
||||||
|
# external: true
|
||||||
|
# name: npm
|
||||||
Reference in New Issue
Block a user