From 2e8d386e1d45a5b1e89a84ecf1b5da98b7ecc213 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 --- homelab/fighter/config/keycloak/docker-compose.yml | 2 +- homelab/fighter/config/keycloak/keycloak-wip.env | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/homelab/fighter/config/keycloak/docker-compose.yml b/homelab/fighter/config/keycloak/docker-compose.yml index 24d51ea4..613febcc 100644 --- a/homelab/fighter/config/keycloak/docker-compose.yml +++ b/homelab/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/homelab/fighter/config/keycloak/keycloak-wip.env b/homelab/fighter/config/keycloak/keycloak-wip.env index 9d274c3f..433166c8 100644 --- a/homelab/fighter/config/keycloak/keycloak-wip.env +++ b/homelab/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