Only start keycloak when db is healthy and ts is up
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user