From 2f09c40b60ef31064eb128cbf2c67ec8668b32e8 Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Tue, 19 Aug 2025 13:58:01 -0600 Subject: [PATCH] Add health check dependencies for Postiz service in docker-compose.yml - Updated the Postiz service configuration to include health check dependencies for PostgreSQL and Redis, ensuring that these services are healthy before Postiz starts. - This enhancement improves service reliability and startup order in the Docker environment. --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index ecf38c3..9eb9784 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -609,6 +609,11 @@ services: volumes: - postiz-config:/config - postiz-uploads:/uploads + depends_on: + postgres: + condition: service_healthy + redis: + condition: service_healthy comfyui: image: yanwk/comfyui-boot:cu124-slim