From 016d87f73c7cdbe32adba48ea7fc18279ace05f7 Mon Sep 17 00:00:00 2001 From: Ashish D'Souza Date: Sat, 27 Jan 2024 15:44:17 -0600 Subject: [PATCH] Delayed start for webcontrol service #9 Squashed commit of the following: commit ab5a0b4621d23c44624a8c0b1a4c440ae5140c26 Author: Ashish D'Souza Date: Sat Jan 27 15:42:21 2024 -0600 Fixed docker compose webcontrol dependencies --- conf/docker-compose.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/conf/docker-compose.yaml b/conf/docker-compose.yaml index 6653281..1083dc3 100644 --- a/conf/docker-compose.yaml +++ b/conf/docker-compose.yaml @@ -94,8 +94,11 @@ services: autoheal: 'true' restart: unless-stopped depends_on: - - frigate - - mqtt + frigate: + condition: service_healthy + restart: true + mqtt: + condition: service_started healthcheck: test: curl -s -f http://localhost -o /dev/null interval: 60s