1+ PRISMA_MIGRATIONS=true
2+
13SERVER_TYPE=http
24SERVER_PORT=8080
3- # Server URL - Set your application url
45SERVER_URL=http://localhost:8080
56
67SENTRY_DSN=
78
8- # Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
99CORS_ORIGIN=*
1010CORS_METHODS=GET,POST,PUT,DELETE
1111CORS_CREDENTIALS=true
1212
13- # Determine the logs to be displayed
1413LOG_LEVEL=ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS,WEBSOCKET
1514LOG_COLOR=true
16- # Log Baileys - "fatal" | "error" | "warn" | "info" | "debug" | "trace"
1715LOG_BAILEYS=error
1816
19- # Set the maximum number of listeners that can be registered for an event
2017EVENT_EMITTER_MAX_LISTENERS=50
2118
22- # Determine how long the instance should be deleted from memory in case of no connection.
23- # Default time: 5 minutes
24- # If you don't even want an expiration, enter the value false
2519DEL_INSTANCE=false
2620
27- # Provider: postgresql | mysql
2821DATABASE_PROVIDER=postgresql
29- DATABASE_CONNECTION_URI = ' postgresql://user:pass@postgres:5432/evolution?schema=public'
30- # Client name for the database connection
31- # It is used to separate an API installation from another that uses the same database.
22+ DATABASE_CONNECTION_URI=postgresql://postgres:YOUR_PASSWORD@localhost:5432/evolution?schema=public
23+ DATABASE_CONNECTION_URL=postgresql://postgres:YOUR_PASSWORD@localhost:5432/evolution?schema=public
3224DATABASE_CONNECTION_CLIENT_NAME=evolution_exchange
3325
34- # Choose the data you want to save in the application's database
3526DATABASE_SAVE_DATA_INSTANCE=true
3627DATABASE_SAVE_DATA_NEW_MESSAGE=true
3728DATABASE_SAVE_MESSAGE_UPDATE=true
@@ -43,15 +34,11 @@ DATABASE_SAVE_IS_ON_WHATSAPP=true
4334DATABASE_SAVE_IS_ON_WHATSAPP_DAYS=7
4435DATABASE_DELETE_MESSAGE=true
4536
46- # RabbitMQ - Environment variables
4737RABBITMQ_ENABLED=false
4838RABBITMQ_URI=amqp://localhost
4939RABBITMQ_EXCHANGE_NAME=evolution
50- # Global events - By enabling this variable, events from all instances are sent in the same event queue.
5140RABBITMQ_GLOBAL_ENABLED=false
52- # Prefix key to queue name
5341RABBITMQ_PREFIX_KEY=evolution
54- # Choose the events you want to send to RabbitMQ
5542RABBITMQ_EVENTS_APPLICATION_STARTUP=false
5643RABBITMQ_EVENTS_INSTANCE_CREATE=false
5744RABBITMQ_EVENTS_INSTANCE_DELETE=false
@@ -80,26 +67,22 @@ RABBITMQ_EVENTS_CALL=false
8067RABBITMQ_EVENTS_TYPEBOT_START=false
8168RABBITMQ_EVENTS_TYPEBOT_CHANGE_STATUS=false
8269
83- # SQS - Environment variables
8470SQS_ENABLED=false
8571SQS_ACCESS_KEY_ID=
8672SQS_SECRET_ACCESS_KEY=
8773SQS_ACCOUNT_ID=
8874SQS_REGION=
8975
90- # Websocket - Environment variables
9176WEBSOCKET_ENABLED=false
9277WEBSOCKET_GLOBAL_EVENTS=false
9378
94- # Pusher - Environment variables
9579PUSHER_ENABLED=false
9680PUSHER_GLOBAL_ENABLED=false
9781PUSHER_GLOBAL_APP_ID=
9882PUSHER_GLOBAL_KEY=
9983PUSHER_GLOBAL_SECRET=
10084PUSHER_GLOBAL_CLUSTER=
10185PUSHER_GLOBAL_USE_TLS=true
102- # Choose the events you want to send to Pusher
10386PUSHER_EVENTS_APPLICATION_STARTUP=true
10487PUSHER_EVENTS_QRCODE_UPDATED=true
10588PUSHER_EVENTS_MESSAGES_SET=true
@@ -126,21 +109,14 @@ PUSHER_EVENTS_CALL=true
126109PUSHER_EVENTS_TYPEBOT_START=false
127110PUSHER_EVENTS_TYPEBOT_CHANGE_STATUS=false
128111
129- # WhatsApp Business API - Environment variables
130- # Token used to validate the webhook on the Facebook APP
131112WA_BUSINESS_TOKEN_WEBHOOK=evolution
132113WA_BUSINESS_URL=https://graph.facebook.com
133114WA_BUSINESS_VERSION=v20.0
134115WA_BUSINESS_LANGUAGE=en_US
135116
136- # Global Webhook Settings
137- # Each instance's Webhook URL and events will be requested at the time it is created
138117WEBHOOK_GLOBAL_ENABLED=false
139- # Define a global webhook that will listen for enabled events from all instances
140118WEBHOOK_GLOBAL_URL=''
141- # With this option activated, you work with a url per webhook event, respecting the global url and the name of each event
142119WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS=false
143- # Set the events you want to hear
144120WEBHOOK_EVENTS_APPLICATION_STARTUP=false
145121WEBHOOK_EVENTS_QRCODE_UPDATED=true
146122WEBHOOK_EVENTS_MESSAGES_SET=true
@@ -166,63 +142,40 @@ WEBHOOK_EVENTS_LOGOUT_INSTANCE=false
166142WEBHOOK_EVENTS_LABELS_EDIT=true
167143WEBHOOK_EVENTS_LABELS_ASSOCIATION=true
168144WEBHOOK_EVENTS_CALL=true
169- # This events is used with Typebot
170145WEBHOOK_EVENTS_TYPEBOT_START=false
171146WEBHOOK_EVENTS_TYPEBOT_CHANGE_STATUS=false
172- # This event is used to send errors
173147WEBHOOK_EVENTS_ERRORS=false
174148WEBHOOK_EVENTS_ERRORS_WEBHOOK=
175149
176- # Name that will be displayed on smartphone connection
177150CONFIG_SESSION_PHONE_CLIENT=Evolution API
178- # Browser Name = Chrome | Firefox | Edge | Opera | Safari
179151CONFIG_SESSION_PHONE_NAME=Chrome
180152
181- # Whatsapp Web version for baileys channel
182- # https://web.whatsapp.com/check-update?version=0&platform=web
183153CONFIG_SESSION_PHONE_VERSION=2.3000.1015901307
184154
185- # Set qrcode display limit
186155QRCODE_LIMIT=30
187- # Color of the QRCode on base64
188156QRCODE_COLOR='#175197'
189157
190- # Typebot - Environment variables
191158TYPEBOT_ENABLED=false
192- # old | latest
193159TYPEBOT_API_VERSION=latest
194160
195- # Chatwoot - Environment variables
196161CHATWOOT_ENABLED=false
197- # If you leave this option as false, when deleting the message for everyone on WhatsApp, it will not be deleted on Chatwoot.
198162CHATWOOT_MESSAGE_READ=true
199- # 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.
200163CHATWOOT_MESSAGE_DELETE=true
201- # If you leave this option as true, a contact will be created on Chatwoot to provide the QR Code and update messages about the instance.
202164CHATWOOT_BOT_CONTACT=true
203- # This db connection is used to import messages from whatsapp to chatwoot database
204165CHATWOOT_IMPORT_DATABASE_CONNECTION_URI=postgresql://user:passwprd@host:5432/chatwoot?sslmode=disable
205166CHATWOOT_IMPORT_PLACEHOLDER_MEDIA_MESSAGE=true
206167
207- # OpenAI - Environment variables
208168OPENAI_ENABLED=false
209169
210- # Dify - Environment variables
211170DIFY_ENABLED=false
212171
213- # Cache - Environment variables
214- # Redis Cache enabled
215172CACHE_REDIS_ENABLED=true
216173CACHE_REDIS_URI=redis://localhost:6379/6
217174CACHE_REDIS_TTL=604800
218- # Prefix serves to differentiate data from one installation to another that are using the same redis
219175CACHE_REDIS_PREFIX_KEY=evolution
220- # Enabling this variable will save the connection information in Redis and not in the database.
221176CACHE_REDIS_SAVE_INSTANCES=false
222- # Local Cache enabled
223177CACHE_LOCAL_ENABLED=false
224178
225- # Amazon S3 - Environment variables
226179S3_ENABLED=false
227180S3_ACCESS_KEY=
228181S3_SECRET_KEY=
@@ -232,38 +185,9 @@ S3_ENDPOINT=s3.domain.com
232185S3_REGION=eu-west-3
233186S3_USE_SSL=true
234187
235- # AMAZON S3 - Environment variables
236- # S3_ENABLED=true
237- # S3_BUCKET=bucket_name
238- # S3_ACCESS_KEY=access_key_id
239- # S3_SECRET_KEY=secret_access_key
240- # S3_ENDPOINT=s3.amazonaws.com # region: s3.eu-west-3.amazonaws.com
241- # S3_REGION=eu-west-3
242188
243- # MINIO Use SSL - Environment variables
244- # S3_ENABLED=true
245- # S3_ACCESS_KEY=access_key_id
246- # S3_SECRET_KEY=secret_access_key
247- # S3_BUCKET=bucket_name
248- # S3_PORT=443
249- # S3_ENDPOINT=s3.domain.com
250- # S3_USE_SSL=true
251- # S3_REGION=eu-south
252189
253- # Evolution Audio Converter - Environment variables - https://github.com/EvolutionAPI/evolution-audio-converter
254- # API_AUDIO_CONVERTER=http://localhost:4040/process-audio
255- # API_AUDIO_CONVERTER_KEY=429683C4C977415CAAFCCE10F7D57E11
256190
257- # Define a global apikey to access all instances.
258- # OBS: This key must be inserted in the request header to create an instance.
259191AUTHENTICATION_API_KEY=429683C4C977415CAAFCCE10F7D57E11
260- # If you leave this option as true, the instances will be exposed in the fetch instances endpoint.
261192AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true
262193LANGUAGE=en
263-
264- # Define a global proxy to be used if the instance does not have one
265- # PROXY_HOST=
266- # PROXY_PORT=80
267- # PROXY_PROTOCOL=http
268- # PROXY_USERNAME=
269- # PROXY_PASSWORD=
0 commit comments