#113 Add DB env vars to keycloak-wip.env

This commit is contained in:
Joey Hafner 2024-01-04 15:54:40 -08:00
parent 8130a84841
commit b5db5bf26f
2 changed files with 7 additions and 2 deletions

View File

@ -78,7 +78,7 @@ services:
- keycloak - keycloak
keycloak: keycloak:
restart: "no" restart: "no"
command: start --help command: start --db=postgres
env_file: env_file:
- keycloak-wip.env - keycloak-wip.env
- keycloak-wip_secrets.env - keycloak-wip_secrets.env

View File

@ -1,4 +1,9 @@
KC_DB=postgres KC_DB=postgres
KC_DB_URL=postgres KC_DB_URL=postgres
KC_DB_USERNAME=keycloak KC_DB_USERNAME=keycloak
KC_HOSTNAME=keycloak KC_HOSTNAME=keycloak
DB=postgres
DB_URL=postgres
DB_USER=keycloak
DB_PASS=weakpassword