From cffde0671b71088fed49200910b00631c58821ef Mon Sep 17 00:00:00 2001 From: Anthony Lukach Date: Wed, 30 Oct 2024 10:37:21 -0700 Subject: [PATCH] Rework docker-compose to avoid configuring with stale yaml files Prior to this change, the first configuration will be run with the YAML files that were written when the image was built. Instead, we want the latest YAML files to be used. --- docker-compose.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index ed56106..9b42bdc 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,9 +1,7 @@ version: "3" services: keycloak: - build: - context: ./keycloak - dockerfile: Dockerfile + build: ./keycloak environment: KEYCLOAK_ADMIN: admin KEYCLOAK_ADMIN_PASSWORD: admin @@ -19,6 +17,8 @@ services: path: ./keycloak keycloak-config-cli: build: ./config + volumes: + - ./config/src:/config depends_on: - keycloak environment: