Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Update twenty.yaml

Rindy Tuyed952f31b3c8
diff --git a/templates/compose/twenty.yaml b/templates/compose/twenty.yaml
index fe350248f1..44ee1f6d66 100644
--- a/templates/compose/twenty.yaml
+++ b/templates/compose/twenty.yaml
@@ -13,21 +13,14 @@ services:
- FRONT_BASE_URL=$SERVICE_FQDN_TWENTY
- ENABLE_DB_MIGRATIONS=true
- CACHE_STORAGE_TYPE=${CACHE_STORAGE_TYPE:-redis}
- - REDIS_HOST=redis
- - REDIS_PORT=6379
-
- # https://twenty.com/developers/section/self-hosting/docker-compose
- - APP_SECRET=$SERVICE_BASE64_32_SECRET
-
+ - REDIS_URL=redis://redis:6379
+
# https://twenty.com/developers/section/self-hosting/self-hosting-var#security
- API_RATE_LIMITING_TTL=${API_RATE_LIMITING_TTL:-100}
- API_RATE_LIMITING_LIMIT=${API_RATE_LIMITING_LIMIT:-100}
# https://twenty.com/developers/section/self-hosting/self-hosting-var#tokens
- - ACCESS_TOKEN_SECRET=$SERVICE_BASE64_32_ACCESS
- - LOGIN_TOKEN_SECRET=$SERVICE_BASE64_32_LOGIN
- - REFRESH_TOKEN_SECRET=$SERVICE_BASE64_32_REFRESH
- - FILE_TOKEN_SECRET=$SERVICE_BASE64_32_FILE
+ - APP_SECRET=$SERVICE_BASE64_32_SECRET
- POSTGRES_ADMIN_PASSWORD=$SERVICE_PASSWORD_POSTGRES
- PG_DATABASE_URL=postgres://postgres:$SERVICE_PASSWORD_POSTGRES@postgres:5432/default