@@ -12,20 +12,42 @@ services:
12
12
- SERVER_URL=$SERVICE_FQDN_TWENTY
13
13
- FRONT_BASE_URL=$SERVICE_FQDN_TWENTY
14
14
- ENABLE_DB_MIGRATIONS=true
15
- - SIGN_IN_PREFILLED=false
15
+ - CACHE_STORAGE_TYPE=${CACHE_STORAGE_TYPE:-redis}
16
+ - REDIS_HOST=redis
17
+ - REDIS_PORT=6379
16
18
17
- - STORAGE_TYPE=${STORAGE_TYPE:-local}
18
- - STORAGE_S3_REGION=$STORAGE_S3_REGION
19
- - STORAGE_S3_NAME=$STORAGE_S3_NAME
20
- - STORAGE_S3_ENDPOINT=$STORAGE_S3_ENDPOINT
19
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#security
20
+ - API_RATE_LIMITING_TTL=${API_RATE_LIMITING_TTL:-100}
21
+ - API_RATE_LIMITING_LIMIT=${API_RATE_LIMITING_LIMIT:-100}
21
22
23
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#tokens
22
24
- ACCESS_TOKEN_SECRET=$SERVICE_BASE64_32_ACCESS
23
25
- LOGIN_TOKEN_SECRET=$SERVICE_BASE64_32_LOGIN
24
26
- REFRESH_TOKEN_SECRET=$SERVICE_BASE64_32_REFRESH
25
27
- FILE_TOKEN_SECRET=$SERVICE_BASE64_32_FILE
26
28
- POSTGRES_ADMIN_PASSWORD=$SERVICE_PASSWORD_POSTGRES
27
29
- PG_DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@postgres:5432/default
28
30
31
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#auth
32
+ - IS_SIGN_UP_DISABLED=${IS_SIGN_UP_DISABLED:-false}
33
+ - PASSWORD_RESET_TOKEN_EXPIRES_IN=${PASSWORD_RESET_TOKEN_EXPIRES_IN:-5m}
34
+
35
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#workspace-cleaning
36
+ - WORKSPACE_INACTIVE_DAYS_BEFORE_NOTIFICATION=$WORKSPACE_INACTIVE_DAYS_BEFORE_NOTIFICATION
37
+ - WORKSPACE_INACTIVE_DAYS_BEFORE_DELETION=$WORKSPACE_INACTIVE_DAYS_BEFORE_DELETION
38
+
39
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#captcha
40
+ - STORAGE_TYPE=${STORAGE_TYPE:-local}
41
+ - STORAGE_S3_REGION=$STORAGE_S3_REGION
42
+ - STORAGE_S3_NAME=$STORAGE_S3_NAME
43
+ - STORAGE_S3_ENDPOINT=$STORAGE_S3_ENDPOINT
44
+ - STORAGE_S3_ACCESS_KEY_ID=$STORAGE_S3_ACCESS_KEY_ID
45
+ - STORAGE_S3_SECRET_ACCESS_KEY=$STORAGE_S3_SECRET_ACCESS_KEY
46
+
47
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#message-queue
48
+ - MESSAGE_QUEUE_TYPE=$MESSAGE_QUEUE_TYPE
49
+
50
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#email
29
51
- EMAIL_FROM_ADDRESS=$EMAIL_FROM_ADDRESS
30
52
- EMAIL_FROM_NAME=$EMAIL_FROM_NAME
31
53
- EMAIL_SYSTEM_ADDRESS=$EMAIL_SYSTEM_ADDRESS
@@ -35,10 +57,12 @@ services:
35
57
- EMAIL_SMTP_USER=$EMAIL_SMTP_USER
36
58
- EMAIL_SMTP_PASSWORD=$EMAIL_SMTP_PASSWORD
37
59
60
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#debug-/-development
61
+ - SIGN_IN_PREFILLED=false
62
+ - DEBUG_MODE=${DEBUG_MODE:-false}
63
+
64
+ # https://twenty.com/developers/section/self-hosting/self-hosting-var#telemetry
38
65
- TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-false}
39
- - CACHE_STORAGE_TYPE=${CACHE_STORAGE_TYPE:-redis}
40
- - REDIS_HOST=redis
41
- - REDIS_PORT=6379
42
66
depends_on :
43
67
postgres :
44
68
condition : service_healthy
0 commit comments