Prevent anonymous volume creation

This commit is contained in:
Martin Lablans 2023-09-22 10:24:10 +02:00 committed by juarez
parent c8fc35576e
commit 2237562e6e
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ services:
POSTGRES_USER: "keycloak" POSTGRES_USER: "keycloak"
POSTGRES_PASSWORD: "${KEYCLOAK_DB_PASSWORD}" # Set in login-setup.sh POSTGRES_PASSWORD: "${KEYCLOAK_DB_PASSWORD}" # Set in login-setup.sh
POSTGRES_DB: "keycloak" POSTGRES_DB: "keycloak"
tmpfs:
- /var/lib/postgresql/data
# Consider removing this comment once we have collected experience in production. # Consider removing this comment once we have collected experience in production.
# volumes: # volumes:
# - "bridgehead-login-db:/var/lib/postgresql/data" # - "bridgehead-login-db:/var/lib/postgresql/data"