mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2026-03-13 10:09:56 +08:00
chore: remove unused env and set gotrue exp to 7 days
This commit is contained in:
@@ -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
|
||||
|
||||
2
dev.env
2
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
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user