2023-08-02 05:40:17 +03:00
|
|
|
# Use this for local setup
|
2023-08-10 08:24:15 +03:00
|
|
|
PG_DATABASE_URL=postgres://twenty:twenty@localhost:5432/default?connection_limit=1
|
2023-08-02 05:40:17 +03:00
|
|
|
# Use this for docker setup
|
2023-08-10 08:24:15 +03:00
|
|
|
# PG_DATABASE_URL=postgres://twenty:twenty@postgres:5432/default?connection_limit=1
|
2023-08-02 05:40:17 +03:00
|
|
|
|
|
|
|
FRONT_BASE_URL=http://localhost:3001
|
2023-08-01 00:36:04 +03:00
|
|
|
ACCESS_TOKEN_SECRET=replace_me_with_a_random_string
|
|
|
|
LOGIN_TOKEN_SECRET=replace_me_with_a_random_string
|
2023-10-12 19:07:44 +03:00
|
|
|
API_TOKEN_SECRET=replace_me_with_a_random_string
|
2023-08-01 00:36:04 +03:00
|
|
|
REFRESH_TOKEN_SECRET=replace_me_with_a_random_string
|
2023-08-01 05:20:11 +03:00
|
|
|
SIGN_IN_PREFILLED=true
|
2023-07-21 08:59:03 +03:00
|
|
|
|
2023-08-01 00:36:04 +03:00
|
|
|
# ———————— Optional ————————
|
2023-09-10 03:59:56 +03:00
|
|
|
# PORT=3000
|
2023-08-01 00:36:04 +03:00
|
|
|
# DEBUG_MODE=true
|
|
|
|
# ACCESS_TOKEN_EXPIRES_IN=30m
|
|
|
|
# LOGIN_TOKEN_EXPIRES_IN=15m
|
2023-10-12 19:07:44 +03:00
|
|
|
# API_TOKEN_EXPIRES_IN=2y
|
2023-08-01 00:36:04 +03:00
|
|
|
# REFRESH_TOKEN_EXPIRES_IN=90d
|
|
|
|
# FRONT_AUTH_CALLBACK_URL=http://localhost:3001/verify
|
|
|
|
# AUTH_GOOGLE_ENABLED=false
|
|
|
|
# STORAGE_TYPE=local
|
2023-08-05 02:52:59 +03:00
|
|
|
# STORAGE_LOCAL_PATH=.local-storage
|
|
|
|
# SUPPORT_DRIVER=front
|
2023-08-05 05:22:54 +03:00
|
|
|
# SUPPORT_FRONT_HMAC_KEY=replace_me_with_front_chat_verification_secret
|
|
|
|
# SUPPORT_FRONT_CHAT_ID=replace_me_with_front_chat_id
|
2023-09-12 01:07:30 +03:00
|
|
|
# LOGGER_DRIVER=console
|
2023-09-11 22:22:30 +03:00
|
|
|
# SENTRY_DSN=https://xxx@xxx.ingest.sentry.io/xxx
|
2023-09-21 03:25:45 +03:00
|
|
|
# LOG_LEVEL=error,warn
|
2023-10-12 19:07:44 +03:00
|
|
|
# FLEXIBLE_BACKEND_ENABLED=false
|