Skip to content

Commit 2a2030d

Browse files
committed
chore: remove unused env and set gotrue exp to 7 days
1 parent 1a739ae commit 2a2030d

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

deploy.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ GOTRUE_ADMIN_PASSWORD=password
104104
GOTRUE_JWT_SECRET=hello456
105105

106106
# Expiration time in seconds for the JWT token
107-
GOTRUE_JWT_EXP=7200
107+
GOTRUE_JWT_EXP=604800
108108

109109
# External URL where the GoTrue service is exposed
110110
API_EXTERNAL_URL=${APPFLOWY_BASE_URL}/gotrue

dev.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ GOTRUE_ADMIN_PASSWORD=password
3939
# Authentication key, change this and keep the key safe and secret
4040
GOTRUE_JWT_SECRET=hello456
4141
# Expiration time in seconds for the JWT token
42-
GOTRUE_JWT_EXP=7200
42+
GOTRUE_JWT_EXP=604800
4343

4444
# External URL where the GoTrue service is exposed
4545
# The email verification link provided to users will redirect them to this specified host

docker-compose-ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ services:
127127
- APPFLOWY_DATABASE_URL=${APPFLOWY_DATABASE_URL}
128128
- APPFLOWY_REDIS_URI=${APPFLOWY_REDIS_URI}
129129
- APPFLOWY_GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET}
130-
- APPFLOWY_GOTRUE_JWT_EXP=${GOTRUE_JWT_EXP}
131130
- APPFLOWY_GOTRUE_BASE_URL=${APPFLOWY_GOTRUE_BASE_URL}
132131
- APPFLOWY_S3_USE_MINIO=${APPFLOWY_S3_USE_MINIO}
133132
- APPFLOWY_S3_MINIO_URL=${APPFLOWY_S3_MINIO_URL}

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ services:
115115
- APPFLOWY_DATABASE_URL=${APPFLOWY_DATABASE_URL}
116116
- APPFLOWY_REDIS_URI=${APPFLOWY_REDIS_URI}
117117
- APPFLOWY_GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET}
118-
- APPFLOWY_GOTRUE_JWT_EXP=${GOTRUE_JWT_EXP}
119118
- APPFLOWY_GOTRUE_BASE_URL=${APPFLOWY_GOTRUE_BASE_URL}
120119
- APPFLOWY_S3_CREATE_BUCKET=${APPFLOWY_S3_CREATE_BUCKET}
121120
- APPFLOWY_S3_USE_MINIO=${APPFLOWY_S3_USE_MINIO}

0 commit comments

Comments
 (0)