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 $@