From 2a2030dc4237df7dfd76bbadb98249e815ed0a90 Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 8 Oct 2025 10:11:28 +0800 Subject: [PATCH] chore: remove unused env and set gotrue exp to 7 days --- deploy.env | 2 +- dev.env | 2 +- docker-compose-ci.yml | 1 - docker-compose.yml | 1 - 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/deploy.env b/deploy.env index ff2fb025..d70cd425 100644 --- a/deploy.env +++ b/deploy.env @@ -104,7 +104,7 @@ GOTRUE_ADMIN_PASSWORD=password GOTRUE_JWT_SECRET=hello456 # Expiration time in seconds for the JWT token -GOTRUE_JWT_EXP=7200 +GOTRUE_JWT_EXP=604800 # External URL where the GoTrue service is exposed API_EXTERNAL_URL=${APPFLOWY_BASE_URL}/gotrue diff --git a/dev.env b/dev.env index 7054d0c8..0cbb3810 100644 --- a/dev.env +++ b/dev.env @@ -39,7 +39,7 @@ GOTRUE_ADMIN_PASSWORD=password # Authentication key, change this and keep the key safe and secret GOTRUE_JWT_SECRET=hello456 # Expiration time in seconds for the JWT token -GOTRUE_JWT_EXP=7200 +GOTRUE_JWT_EXP=604800 # External URL where the GoTrue service is exposed # The email verification link provided to users will redirect them to this specified host diff --git a/docker-compose-ci.yml b/docker-compose-ci.yml index fa5fa251..fe4eab1c 100644 --- a/docker-compose-ci.yml +++ b/docker-compose-ci.yml @@ -127,7 +127,6 @@ services: - APPFLOWY_DATABASE_URL=${APPFLOWY_DATABASE_URL} - APPFLOWY_REDIS_URI=${APPFLOWY_REDIS_URI} - APPFLOWY_GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET} - - APPFLOWY_GOTRUE_JWT_EXP=${GOTRUE_JWT_EXP} - APPFLOWY_GOTRUE_BASE_URL=${APPFLOWY_GOTRUE_BASE_URL} - APPFLOWY_S3_USE_MINIO=${APPFLOWY_S3_USE_MINIO} - APPFLOWY_S3_MINIO_URL=${APPFLOWY_S3_MINIO_URL} diff --git a/docker-compose.yml b/docker-compose.yml index 12dbc6a6..37cc3883 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -115,7 +115,6 @@ services: - APPFLOWY_DATABASE_URL=${APPFLOWY_DATABASE_URL} - APPFLOWY_REDIS_URI=${APPFLOWY_REDIS_URI} - APPFLOWY_GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET} - - APPFLOWY_GOTRUE_JWT_EXP=${GOTRUE_JWT_EXP} - APPFLOWY_GOTRUE_BASE_URL=${APPFLOWY_GOTRUE_BASE_URL} - APPFLOWY_S3_CREATE_BUCKET=${APPFLOWY_S3_CREATE_BUCKET} - APPFLOWY_S3_USE_MINIO=${APPFLOWY_S3_USE_MINIO}