Skip to content

Commit

Permalink
Update .env.test
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixMalfait committed Jul 28, 2023
1 parent e4af92e commit 2fedcfb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
1 change: 1 addition & 0 deletions render.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ services:
name: server
env: docker
dockerfilePath: ./infra/prod/server/Dockerfile
dockerCommand: yarn prisma:migrate && serve -s build
autoDeploy: false
envVars:
- key: ACCESS_TOKEN_SECRET
Expand Down
30 changes: 18 additions & 12 deletions server/.env.test
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
DEBUG_MODE=true



PG_DATABASE_URL=postgres://postgres:postgrespassword@localhost:5432/test?connection_limit=1
FRONT_BASE_URL=http://localhost:3001 # the URL of the front-end app
ACCESS_TOKEN_SECRET=secret_jwt # a random key used to sign the JWT tokens
Expand All @@ -10,13 +7,22 @@ REFRESH_TOKEN_SECRET=secret_refresh_token # another random key used to sign the


# ———————— Optional ————————
DEBUG_MODE= # false
DEMO_MODE= # false
ACCESS_TOKEN_EXPIRES_IN= # 30m
LOGIN_TOKEN_EXPIRES_IN= # 15m
REFRESH_TOKEN_EXPIRES_IN= # 90d
FRONT_AUTH_CALLBACK_URL= # http://localhost:3001/verify
AUTH_GOOGLE_ENABLED= # false
STORAGE_TYPE= # local
STORAGE_LOCAL_PATH= # .local-storage
# default: false
DEBUG_MODE=
# default: false
DEMO_MODE=
# default: 30m
ACCESS_TOKEN_EXPIRES_IN=
# default: 15m
LOGIN_TOKEN_EXPIRES_IN=
# default: 90d
REFRESH_TOKEN_EXPIRES_IN=
# default: http://localhost:3001/verify
FRONT_AUTH_CALLBACK_URL=
# default: false
AUTH_GOOGLE_ENABLED=
# default: local
STORAGE_TYPE=
# default: .local-storage
STORAGE_LOCAL_PATH=

0 comments on commit 2fedcfb

Please sign in to comment.