From 3742164e6f510080bafe974eae0666a6ef42e58b Mon Sep 17 00:00:00 2001 From: Cassowary Date: Tue, 26 Mar 2024 12:25:56 -0700 Subject: [PATCH] Fix grist_session_secret --- compose.yml | 4 ++-- entrypoint.sh.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compose.yml b/compose.yml index 0899707..d0537bf 100644 --- a/compose.yml +++ b/compose.yml @@ -12,7 +12,7 @@ services: - REDIS_URL=redis://${STACK_NAME}_redis:6379 - GRIST_DATA_DIR=/var/grist-data - GRIST_SUPPORT_ANON - - SESSION_SECRET_FILE=/run/secrets/session_secret + - GRIST_SESSION_SECRET_FILE=/run/secrets/session_secret - GRIST_SANDBOX_FLAVOR=unsandboxed - APP_HOME_URL=https://${DOMAIN} - APP_DOC_URL=https://${DOMAIN} @@ -72,7 +72,7 @@ secrets: name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION} session_secret: external: true - name: ${STACK_NAME}_session_secret_${SECRET_SESSION_SECRET_VERSION} + name: ${STACK_NAME}_session_secret_${SECRET_GRIST_SESSION_SECRET_VERSION} volumes: postgresql_data: diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 852298d..59de195 100755 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -25,6 +25,6 @@ file_env() { file_env TYPEORM_PASSWORD -file_env SESSION_SECRET +file_env GRIST_SESSION_SECRET exec ./sandbox/run.sh $@