remove secret db_password if not using postgres

This commit is contained in:
iexos 2024-07-02 20:30:17 +02:00
parent c7f5707d0b
commit e3199c5543
2 changed files with 1 additions and 4 deletions

View File

@ -16,7 +16,6 @@ GRIST_HIDE_UI_ELEMENTS=billing,sendToDrive
GRIST_DEFAULT_EMAIL=grist@example.com
SECRET_GRIST_SESSION_SECRET_VERSION=v1
SECRET_DB_PASSWORD_VERSION=v1
COMPOSE_FILE="compose.yml"
@ -36,3 +35,4 @@ COMPOSE_FILE="compose.yml"
# Postgres DB instead of SQLite (beware performance issues)
#COMPOSE_FILE="$COMPOSE_FILE:compose.postgres.yml"
#SECRET_DB_PASSWORD_VERSION=v1

View File

@ -48,9 +48,6 @@ services:
- 'redis_data:/data'
secrets:
db_password:
external: true
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}
session_secret:
external: true
name: ${STACK_NAME}_session_secret_${SECRET_GRIST_SESSION_SECRET_VERSION}