From 9f62e5f3f9361b7fa3c3cefdc614f9ffe360195f Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Wed, 28 Feb 2024 10:04:47 -0600 Subject: [PATCH] move from bind mounts to named volumes --- keycloak/docker-compose.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/keycloak/docker-compose.yml b/keycloak/docker-compose.yml index d600873..e64f68a 100644 --- a/keycloak/docker-compose.yml +++ b/keycloak/docker-compose.yml @@ -5,7 +5,7 @@ services: postgres: image: postgres:15.5-alpine3.19 volumes: - - ./postgres_data:/var/lib/postgresql/data + - postgres_volume:/var/lib/postgresql/data environment: POSTGRES_DB: keycloak POSTGRES_USER: keycloak @@ -46,4 +46,8 @@ services: networks: bizmatch: + external: true + +volumes: + postgres_volume: external: true \ No newline at end of file