Only start keycloak when db is healthy and ts is up
This commit is contained in:
@@ -40,6 +40,9 @@ services:
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
restart: true
|
||||
ts-keycloak:
|
||||
condition: service_started
|
||||
container_name: keycloak
|
||||
environment:
|
||||
KC_DB: postgres
|
||||
@@ -62,4 +65,4 @@ volumes:
|
||||
ts-keycloak-state:
|
||||
driver: local
|
||||
postgres-data:
|
||||
driver: local
|
||||
driver: local
|
||||
|
||||
Reference in New Issue
Block a user