11SERVER_TYPE = http
22SERVER_PORT = 8080
3+ # Server URL - Set your application url
34SERVER_URL = http://localhost:8080
4- # TELEMETRY=true
5- # TELEMETRY_URL=
65
6+ # Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
77CORS_ORIGIN = *
88CORS_METHODS = GET,POST,PUT,DELETE
99CORS_CREDENTIALS = true
1010
11+ # Determine the logs to be displayed
1112LOG_LEVEL = ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS
1213LOG_COLOR = true
14+ # Log Baileys - "fatal" | "error" | "warn" | "info" | "debug" | "trace"
1315LOG_BAILEYS = error
1416
17+ # Determine how long the instance should be deleted from memory in case of no connection.
18+ # Default time: 5 minutes
19+ # If you don't even want an expiration, enter the value false
1520DEL_INSTANCE = false
1621
17- PROVIDER_ENABLED = false
18- PROVIDER_HOST = 127.0.0.1
19- PROVIDER_PORT = 5656
20- PROVIDER_PREFIX = evolution
21-
22+ # Permanent data storage
2223DATABASE_ENABLED = true
24+ # Provider: postgresql
2325DATABASE_PROVIDER = postgresql
2426DATABASE_CONNECTION_URI = ' postgresql://user:pass@localhost:5432/evolution?schema=public'
27+ # Client name for the database connection
28+ # It is used to separate an API installation from another that uses the same database.
2529DATABASE_CONNECTION_CLIENT_NAME = evolution_exchange
30+
31+ # Choose the data you want to save in the application's database
2632DATABASE_SAVE_DATA_INSTANCE = true
2733DATABASE_SAVE_DATA_NEW_MESSAGE = true
2834DATABASE_SAVE_MESSAGE_UPDATE = true
@@ -31,10 +37,13 @@ DATABASE_SAVE_DATA_CHATS=true
3137DATABASE_SAVE_DATA_LABELS = true
3238DATABASE_SAVE_DATA_HISTORIC = true
3339
40+ # RabbitMQ - Environment variables
3441RABBITMQ_ENABLED = false
3542RABBITMQ_URI = amqp://localhost
3643RABBITMQ_EXCHANGE_NAME = evolution
44+ # Global events - By enabling this variable, events from all instances are sent in the same event queue.
3745RABBITMQ_GLOBAL_ENABLED = false
46+ # Choose the events you want to send to RabbitMQ
3847RABBITMQ_EVENTS_APPLICATION_STARTUP = false
3948RABBITMQ_EVENTS_INSTANCE_CREATE = false
4049RABBITMQ_EVENTS_INSTANCE_DELETE = false
@@ -61,23 +70,32 @@ RABBITMQ_EVENTS_CALL=false
6170RABBITMQ_EVENTS_TYPEBOT_START = false
6271RABBITMQ_EVENTS_TYPEBOT_CHANGE_STATUS = false
6372
73+ # SQS - Environment variables
6474SQS_ENABLED = false
6575SQS_ACCESS_KEY_ID =
6676SQS_SECRET_ACCESS_KEY =
6777SQS_ACCOUNT_ID =
6878SQS_REGION =
6979
80+ # Websocket - Environment variables
7081WEBSOCKET_ENABLED = false
7182WEBSOCKET_GLOBAL_EVENTS = false
7283
84+ # WhatsApp Business API - Environment variables
85+ # Token used to validate the webhook on the Facebook APP
7386WA_BUSINESS_TOKEN_WEBHOOK = evolution
7487WA_BUSINESS_URL = https://graph.facebook.com
75- WA_BUSINESS_VERSION = v18 .0
76- WA_BUSINESS_LANGUAGE = pt_BR
88+ WA_BUSINESS_VERSION = v20 .0
89+ WA_BUSINESS_LANGUAGE = en_US
7790
78- WEBHOOK_GLOBAL_URL = ' '
91+ # Global Webhook Settings
92+ # Each instance's Webhook URL and events will be requested at the time it is created
7993WEBHOOK_GLOBAL_ENABLED = false
94+ # Define a global webhook that will listen for enabled events from all instances
95+ WEBHOOK_GLOBAL_URL = ' '
96+ # With this option activated, you work with a url per webhook event, respecting the global url and the name of each event
8097WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS = false
98+ # Set the events you want to hear
8199WEBHOOK_EVENTS_APPLICATION_STARTUP = false
82100WEBHOOK_EVENTS_QRCODE_UPDATED = true
83101WEBHOOK_EVENTS_MESSAGES_SET = true
@@ -101,38 +119,56 @@ WEBHOOK_EVENTS_CONNECTION_UPDATE=true
101119WEBHOOK_EVENTS_LABELS_EDIT = true
102120WEBHOOK_EVENTS_LABELS_ASSOCIATION = true
103121WEBHOOK_EVENTS_CALL = true
122+ # This events is used with Typebot
104123WEBHOOK_EVENTS_TYPEBOT_START = false
105124WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS = false
125+ # This event is used to send errors
106126WEBHOOK_EVENTS_ERRORS = false
107127WEBHOOK_EVENTS_ERRORS_WEBHOOK =
108128
129+ # Name that will be displayed on smartphone connection
109130CONFIG_SESSION_PHONE_CLIENT = Evolution API
131+ # Browser Name = Chrome | Firefox | Edge | Opera | Safari
110132CONFIG_SESSION_PHONE_NAME = Chrome
111133
134+ # Set qrcode display limit
112135QRCODE_LIMIT = 30
136+ # Color of the QRCode on base64
113137QRCODE_COLOR = ' #175197'
114138
139+ # Typebot - Environment variables
115140TYPEBOT_ENABLED = false
116- TYPEBOT_SEND_MEDIA_BASE64 = true
141+ # old | latest
117142TYPEBOT_API_VERSION = latest
118143
144+ # Chatwoot - Environment variables
119145CHATWOOT_ENABLED = false
146+ # If you leave this option as false, when deleting the message for everyone on WhatsApp, it will not be deleted on Chatwoot.
120147CHATWOOT_MESSAGE_READ = true
148+ # If you leave this option as true, when sending a message in Chatwoot, the client's last message will be marked as read on WhatsApp.
121149CHATWOOT_MESSAGE_DELETE = true
150+ # This db connection is used to import messages from whatsapp to chatwoot database
122151CHATWOOT_IMPORT_DATABASE_CONNECTION_URI = postgresql://user:passwprd@host:5432/chatwoot?sslmode=disable
123152CHATWOOT_IMPORT_PLACEHOLDER_MEDIA_MESSAGE = true
124153
154+ # OpenAI - Environment variables
125155OPENAI_ENABLED = false
126- OPENAI_API_KEY_GLOBAL =
127156
157+ # Dify - Environment variables
128158DIFY_ENABLED = false
129159
160+ # Cache - Environment variables
161+ # Redis Cache enabled
130162CACHE_REDIS_ENABLED = true
131163CACHE_REDIS_URI = redis://localhost:6379/6
164+ # Prefix serves to differentiate data from one installation to another that are using the same redis
132165CACHE_REDIS_PREFIX_KEY = evolution
166+ # Enabling this variable will save the connection information in Redis and not in the database.
133167CACHE_REDIS_SAVE_INSTANCES = false
168+ # Local Cache enabled
134169CACHE_LOCAL_ENABLED = false
135170
171+ # Amazon S3 - Environment variables
136172S3_ENABLED = false
137173S3_ACCESS_KEY =
138174S3_SECRET_KEY =
@@ -157,6 +193,9 @@ S3_USE_SSL=true
157193# S3_ENDPOINT=s3.domain.com
158194# S3_USE_SSL=true
159195
196+ # Define a global apikey to access all instances.
197+ # OBS: This key must be inserted in the request header to create an instance.
160198AUTHENTICATION_API_KEY = 429683C4C977415CAAFCCE10F7D57E11
199+ # If you leave this option as true, the instances will be exposed in the fetch instances endpoint.
161200AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES = true
162201LANGUAGE = en
0 commit comments