From 18e2dd53ff4c57c3ab1c1c129e6884874856f962 Mon Sep 17 00:00:00 2001 From: mercury Date: Wed, 10 Dec 2025 00:40:45 +0400 Subject: [PATCH] changing dependencies when starting containers --- docker-compose.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1e99fac..165a9db 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,22 +40,14 @@ services: hostname: upstream container_name: upstream-${VER} depends_on: - php: - condition: service_healthy ng: condition: service_healthy - ad: - condition: service_started - ss: - condition: service_started xr: condition: service_started oc: condition: service_started np: condition: service_started - hy: - condition: service_started env_file: - path: ./.env required: true # default @@ -106,6 +98,8 @@ services: depends_on: php: condition: service_healthy + ad: + condition: service_started healthcheck: test: ["CMD", "nginx", "-t"] interval: 10s