From 7a8f8a90175c3b9496a6d1404863aa2b12a7e0da Mon Sep 17 00:00:00 2001 From: Bret Mogilefsky Date: Wed, 2 Oct 2024 19:46:58 -0700 Subject: [PATCH] Use long form to avoid race condition See helpful comment [here](https://github.com/docker/compose/issues/3270#issuecomment-2390356226). --- docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 31613e4cd..1d873eeac 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,7 +30,8 @@ services: # RUN_AS="$(id -u):$(id -g)" docker compose up -d user: ${RUN_AS:-0:0} depends_on: - - match-volume-ownership + match-volume-ownership: + condition: service_completed_successfully environment: SPIFFWORKFLOW_BACKEND_ENV: "local_docker" FLASK_DEBUG: "0"