Only start keycloak when db is healthy and ts is up

This commit is contained in:
2024-07-26 09:19:50 +01:00
parent 29979248d0
commit c602ed3622

View File

@@ -40,6 +40,9 @@ services:
depends_on: depends_on:
postgres: postgres:
condition: service_healthy condition: service_healthy
restart: true
ts-keycloak:
condition: service_started
container_name: keycloak container_name: keycloak
environment: environment:
KC_DB: postgres KC_DB: postgres