mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-16 19:35:26 +02:00
Adds the integration enable env flags introduced in Evolution API v2.3.x (N8N_ENABLED, OPENAI_ENABLED, EVOAI_ENABLED, DIFY_ENABLED, TYPEBOT_ENABLED, CHATWOOT_ENABLED) so integrations no longer fail with 'N8n is disabled', and pins the image to v2.3.7 instead of latest. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
[variables]
|
|
main_domain = "${domain}"
|
|
api_key = "${base64:64}"
|
|
postgres_password = "${password}"
|
|
|
|
[config]
|
|
env = [
|
|
"SERVER_URL=https://${main_domain}",
|
|
"AUTHENTICATION_TYPE=apikey",
|
|
"AUTHENTICATION_API_KEY=${api_key}",
|
|
"AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true",
|
|
"LANGUAGE=en",
|
|
"CONFIG_SESSION_PHONE_CLIENT=Evolution API",
|
|
"CONFIG_SESSION_PHONE_NAME=Chrome",
|
|
"TELEMETRY=false",
|
|
"TELEMETRY_URL=",
|
|
"POSTGRES_DATABASE=evolution",
|
|
"POSTGRES_USERNAME=postgresql",
|
|
"POSTGRES_PASSWORD=${postgres_password}",
|
|
"DATABASE_ENABLED=true",
|
|
"DATABASE_PROVIDER=postgresql",
|
|
"DATABASE_CONNECTION_URI=postgres://postgresql:${postgres_password}@evolution-postgres:5432/evolution",
|
|
"DATABASE_SAVE_DATA_INSTANCE=true",
|
|
"DATABASE_SAVE_DATA_NEW_MESSAGE=true",
|
|
"DATABASE_SAVE_MESSAGE_UPDATE=true",
|
|
"DATABASE_SAVE_DATA_CONTACTS=true",
|
|
"DATABASE_SAVE_DATA_CHATS=true",
|
|
"DATABASE_SAVE_DATA_LABELS=true",
|
|
"DATABASE_SAVE_DATA_HISTORIC=true",
|
|
"CACHE_REDIS_ENABLED=true",
|
|
"CACHE_REDIS_URI=redis://evolution-redis:6379",
|
|
"CACHE_REDIS_PREFIX_KEY=evolution",
|
|
"CACHE_REDIS_SAVE_INSTANCES=true",
|
|
"TYPEBOT_ENABLED=true",
|
|
"TYPEBOT_API_VERSION=latest",
|
|
"CHATWOOT_ENABLED=true",
|
|
"OPENAI_ENABLED=true",
|
|
"DIFY_ENABLED=true",
|
|
"N8N_ENABLED=true",
|
|
"EVOAI_ENABLED=true",
|
|
]
|
|
mounts = []
|
|
|
|
[[config.domains]]
|
|
serviceName = "evolution-api"
|
|
port = 8_080
|
|
host = "${main_domain}"
|