From 6191000588ab6ee391e9c280ed5b33392cc5cf22 Mon Sep 17 00:00:00 2001 From: Martin Lablans Date: Fri, 22 Sep 2023 10:24:10 +0200 Subject: [PATCH] Prevent anonymous volume creation --- ccp/modules/login-compose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ccp/modules/login-compose.yml b/ccp/modules/login-compose.yml index 64b8918..47debb4 100644 --- a/ccp/modules/login-compose.yml +++ b/ccp/modules/login-compose.yml @@ -9,6 +9,8 @@ services: POSTGRES_USER: "keycloak" POSTGRES_PASSWORD: "${KEYCLOAK_DB_PASSWORD}" # Set in login-setup.sh POSTGRES_DB: "keycloak" + tmpfs: + - /var/lib/postgresql/data # Consider removing this comment once we have collected experience in production. # volumes: # - "bridgehead-login-db:/var/lib/postgresql/data"