2023-07-27 19:48:40 +03:00
|
|
|
DEBUG_MODE=true
|
2023-07-27 21:53:00 +03:00
|
|
|
PG_DATABASE_URL=postgres://postgres:postgrespassword@localhost:5432/test?connection_limit=1
|
2023-08-01 00:36:04 +03:00
|
|
|
# the URL of the front-end app
|
|
|
|
FRONT_BASE_URL=http://localhost:3001
|
|
|
|
# random keys used to generate JWT tokens
|
|
|
|
ACCESS_TOKEN_SECRET=secret_jwt
|
|
|
|
LOGIN_TOKEN_SECRET=secret_login_tokens
|
|
|
|
REFRESH_TOKEN_SECRET=secret_refresh_token
|
|
|
|
|
|
|
|
|
|
|
|
# ———————— Optional ————————
|
|
|
|
# DEBUG_MODE=false
|
2023-08-01 05:20:11 +03:00
|
|
|
# SIGN_IN_PREFILLED=false
|
2023-08-01 00:36:04 +03:00
|
|
|
# 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
|