diff --git a/docker-compose.yml b/docker-compose.yml index b99db1c..5aa3493 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,6 +33,9 @@ services: ports: - 127.0.0.1:84:3000 restart: always + depends_on: + - postgres + - redis prometheus: image: prom/prometheus:latest @@ -55,3 +58,8 @@ services: - /data/remote-control.sock volumes: - ./data/unbound-telemetry:/data + healthcheck: + test: curl --silent --fail http://127.0.0.1:9167/healthcheck || exit 1 + interval: 10s + timeout: 1s + retries: 5