File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ services:
2323 KEYCLOAK_ADMIN : " admin"
2424 KEYCLOAK_ADMIN_PASSWORD : " admin"
2525 command : start-dev --import-realm
26+ depends_on :
27+ - keycloak-postgres
2628 volumes :
2729 - " ./keycloak:/opt/keycloak/data/import:ro"
2830 ports :
Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ services:
2323 KEYCLOAK_ADMIN : " admin"
2424 KEYCLOAK_ADMIN_PASSWORD : " admin"
2525 command : start-dev --import-realm
26+ depends_on :
27+ - keycloak-postgres
2628 volumes :
2729 - " ./keycloak:/opt/keycloak/data/import:ro"
2830 ports :
Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ pkgs.mkShell {
115115 echo ">>> Waiting for database on :${ toString postgresPort } ...";
116116 sleep 0.5;
117117 done
118+ sleep 1;
118119 echo ">>> Database is up!"
119120 run-alembic upgrade head
120121 }
You can’t perform that action at this time.
0 commit comments