delay api service start until other resources are ready

This commit is contained in:
grillazz
2025-11-13 12:36:51 +01:00
parent 021ac4f9c7
commit 36d363c70e

View File

@@ -20,8 +20,10 @@ services:
ports: ports:
- "8080:8080" - "8080:8080"
depends_on: depends_on:
- postgres postgres:
- redis condition: service_healthy
redis:
condition: service_started
postgres: postgres:
container_name: panettone_postgres container_name: panettone_postgres