chore: update exp in (#288)
This commit is contained in:
parent
3f407c7b9b
commit
a9ab3bbb22
|
|
@ -38,6 +38,7 @@ jobs:
|
||||||
source environments/test.env
|
source environments/test.env
|
||||||
|
|
||||||
export APPFLOWY_GOTRUE_JWT_SECRET=${{ secrets.TEST_GOTRUE_JWT_SECRET }}
|
export APPFLOWY_GOTRUE_JWT_SECRET=${{ secrets.TEST_GOTRUE_JWT_SECRET }}
|
||||||
|
export APPFLOWY_GOTRUE_JWT_EXP=${{ secrets.TEST_GOTRUE_JWT_EXP }}
|
||||||
export APPFLOWY_S3_ACCESS_KEY=${{ secrets.TEST_APPFLOWY_S3_ACCESS_KEY }}
|
export APPFLOWY_S3_ACCESS_KEY=${{ secrets.TEST_APPFLOWY_S3_ACCESS_KEY }}
|
||||||
export APPFLOWY_S3_SECRET_KEY=${{ secrets.TEST_APPFLOWY_S3_SECRET_KEY }}
|
export APPFLOWY_S3_SECRET_KEY=${{ secrets.TEST_APPFLOWY_S3_SECRET_KEY }}
|
||||||
export APPFLOWY_GOTRUE_ADMIN_PASSWORD=${{ secrets.TEST_APPFLOWY_GOTRUE_ADMIN_PASSWORD }}
|
export APPFLOWY_GOTRUE_ADMIN_PASSWORD=${{ secrets.TEST_APPFLOWY_GOTRUE_ADMIN_PASSWORD }}
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ APPFLOWY_DATABASE_URL=postgres://postgres:password@postgres:5432/postgres
|
||||||
# authentication key, change this and keep the key safe and secret
|
# authentication key, change this and keep the key safe and secret
|
||||||
# self defined key, you can use any string
|
# self defined key, you can use any string
|
||||||
GOTRUE_JWT_SECRET=hello456
|
GOTRUE_JWT_SECRET=hello456
|
||||||
|
GOTRUE_JWT_EXP=7200
|
||||||
|
|
||||||
# User sign up will automatically be confirmed if this is set to true.
|
# User sign up will automatically be confirmed if this is set to true.
|
||||||
# If you have OAuth2 set up or smtp configured, you can set this to false
|
# If you have OAuth2 set up or smtp configured, you can set this to false
|
||||||
|
|
|
||||||
1
dev.env
1
dev.env
|
|
@ -8,6 +8,7 @@ APPFLOWY_DATABASE_URL=postgres://postgres:password@localhost:5432/postgres
|
||||||
# authentication key, change this and keep the key safe and secret
|
# authentication key, change this and keep the key safe and secret
|
||||||
# self defined key, you can use any string
|
# self defined key, you can use any string
|
||||||
GOTRUE_JWT_SECRET=hello456
|
GOTRUE_JWT_SECRET=hello456
|
||||||
|
GOTRUE_JWT_EXP=7200
|
||||||
|
|
||||||
# user sign up will automatically be confirmed if this is set to true
|
# user sign up will automatically be confirmed if this is set to true
|
||||||
# if you have OAuth2 set up or smtp configured, you can set this to false
|
# if you have OAuth2 set up or smtp configured, you can set this to false
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ services:
|
||||||
- GOTRUE_SITE_URL=appflowy-flutter:// # redirected to AppFlowy application
|
- GOTRUE_SITE_URL=appflowy-flutter:// # redirected to AppFlowy application
|
||||||
- URI_ALLOW_LIST=* # adjust restrict if necessary
|
- URI_ALLOW_LIST=* # adjust restrict if necessary
|
||||||
- GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET} # authentication secret
|
- GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET} # authentication secret
|
||||||
|
- GOTRUE_JWT_EXP=${GOTRUE_JWT_EXP}
|
||||||
- GOTRUE_DB_DRIVER=postgres
|
- GOTRUE_DB_DRIVER=postgres
|
||||||
- API_EXTERNAL_URL=${API_EXTERNAL_URL}
|
- API_EXTERNAL_URL=${API_EXTERNAL_URL}
|
||||||
- DATABASE_URL=${GOTRUE_DATABASE_URL}
|
- DATABASE_URL=${GOTRUE_DATABASE_URL}
|
||||||
|
|
|
||||||
|
|
@ -53,6 +53,7 @@ services:
|
||||||
- GOTRUE_SITE_URL=appflowy-flutter:// # redirected to AppFlowy application
|
- GOTRUE_SITE_URL=appflowy-flutter:// # redirected to AppFlowy application
|
||||||
- URI_ALLOW_LIST=* # adjust restrict if necessary
|
- URI_ALLOW_LIST=* # adjust restrict if necessary
|
||||||
- GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET} # authentication secret
|
- GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET} # authentication secret
|
||||||
|
- GOTRUE_JWT_EXP=${GOTRUE_JWT_EXP}
|
||||||
- GOTRUE_DB_DRIVER=postgres
|
- GOTRUE_DB_DRIVER=postgres
|
||||||
- API_EXTERNAL_URL=${API_EXTERNAL_URL}
|
- API_EXTERNAL_URL=${API_EXTERNAL_URL}
|
||||||
- DATABASE_URL=${GOTRUE_DATABASE_URL}
|
- DATABASE_URL=${GOTRUE_DATABASE_URL}
|
||||||
|
|
@ -92,6 +93,7 @@ services:
|
||||||
- APPFLOWY_DATABASE_URL=${APPFLOWY_DATABASE_URL}
|
- APPFLOWY_DATABASE_URL=${APPFLOWY_DATABASE_URL}
|
||||||
- APPFLOWY_REDIS_URI=redis://redis:6379
|
- APPFLOWY_REDIS_URI=redis://redis:6379
|
||||||
- APPFLOWY_GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET}
|
- APPFLOWY_GOTRUE_JWT_SECRET=${GOTRUE_JWT_SECRET}
|
||||||
|
- APPFLOWY_GOTRUE_JWT_EXP=${GOTRUE_JWT_EXP}
|
||||||
- APPFLOWY_GOTRUE_BASE_URL=${APPFLOWY_GOTRUE_BASE_URL}
|
- APPFLOWY_GOTRUE_BASE_URL=${APPFLOWY_GOTRUE_BASE_URL}
|
||||||
- APPFLOWY_GOTRUE_EXT_URL=${API_EXTERNAL_URL}
|
- APPFLOWY_GOTRUE_EXT_URL=${API_EXTERNAL_URL}
|
||||||
- APPFLOWY_GOTRUE_ADMIN_EMAIL=${GOTRUE_ADMIN_EMAIL}
|
- APPFLOWY_GOTRUE_ADMIN_EMAIL=${GOTRUE_ADMIN_EMAIL}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue