From b5db5bf26f95579d88f67b7e7695dee433d92be3 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Thu, 4 Jan 2024 15:54:40 -0800 Subject: [PATCH] #113 Add DB env vars to keycloak-wip.env --- fighter/config/keycloak/docker-compose.yml | 2 +- fighter/config/keycloak/keycloak-wip.env | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/fighter/config/keycloak/docker-compose.yml b/fighter/config/keycloak/docker-compose.yml index 24d51ea..613febc 100644 --- a/fighter/config/keycloak/docker-compose.yml +++ b/fighter/config/keycloak/docker-compose.yml @@ -78,7 +78,7 @@ services: - keycloak keycloak: restart: "no" - command: start --help + command: start --db=postgres env_file: - keycloak-wip.env - keycloak-wip_secrets.env diff --git a/fighter/config/keycloak/keycloak-wip.env b/fighter/config/keycloak/keycloak-wip.env index 9d274c3..433166c 100644 --- a/fighter/config/keycloak/keycloak-wip.env +++ b/fighter/config/keycloak/keycloak-wip.env @@ -1,4 +1,9 @@ KC_DB=postgres KC_DB_URL=postgres KC_DB_USERNAME=keycloak -KC_HOSTNAME=keycloak \ No newline at end of file +KC_HOSTNAME=keycloak + +DB=postgres +DB_URL=postgres +DB_USER=keycloak +DB_PASS=weakpassword \ No newline at end of file