From f6dfd49c1e93c95bbd63cb2c1d1e2bccd447612f Mon Sep 17 00:00:00 2001 From: Philip Henning Date: Tue, 19 Nov 2024 13:57:29 +0100 Subject: [PATCH] make nginx dependend on server --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 1338207..6a78013 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -108,6 +108,9 @@ services: IMAGE: "nginxinc/nginx-unprivileged:1.27.2-bookworm" IMG_TITLE: "nginx-unprivileged-base23" IMAGE_VERSION: "COMPOSE" + depends_on: + server: + condition: service_healthy environment: - NGINX_HTTP_PORT=${NGINX_HTTP_PORT} - NGINX_HTTPS_PORT=${NGINX_HTTPS_PORT}