diff --git a/docker-compose.yml b/docker-compose.yml index 132d01a..b4111ef 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,9 @@ services: volumes: - ./data/db:/opt/app/data/db depends_on: + apprise: + condition: service_healthy + links: - apprise apprise: image: caronc/apprise:latest @@ -19,7 +22,12 @@ services: - ./data/apprise/attach:/attach ports: - 8000:8000 -networks: - default: - external: true - name: npm \ No newline at end of file + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:8000/status"] + interval: 30s + timeout: 10s + retries: 5 +# networks: +# default: +# external: true +# name: npm \ No newline at end of file