11# Server URL - Set your application url
2- SERVER_URL = ' http://localhost:8080'
2+ SERVER_URL = http://localhost:8080
33
44# Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
5- CORS_ORIGIN = ' * '
6- CORS_METHODS = ' POST,GET,PUT,DELETE'
5+ CORS_ORIGIN = *
6+ CORS_METHODS = POST,GET,PUT,DELETE
77CORS_CREDENTIALS = true
88
99# Determine the logs to be displayed
10- LOG_LEVEL = ' ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS'
10+ LOG_LEVEL = ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS
1111LOG_COLOR = true
1212# Log Baileys - "fatal" | "error" | "warn" | "info" | "debug" | "trace"
1313LOG_BAILEYS = error
@@ -31,9 +31,9 @@ CLEAN_STORE_CONTACTS=true
3131CLEAN_STORE_CHATS = true
3232
3333# Permanent data storage
34- DATABASE_ENABLED = false
34+ DATABASE_ENABLED = true
3535DATABASE_CONNECTION_URI = mongodb://root:root@mongodb:27017/?authSource=admin&readPreference=primary&ssl=false&directConnection=true
36- DATABASE_CONNECTION_DB_PREFIX_NAME = evolution
36+ DATABASE_CONNECTION_DB_PREFIX_NAME = evdocker
3737
3838# Choose the data you want to save in the application's database or store
3939DATABASE_SAVE_DATA_INSTANCE = false
@@ -42,9 +42,9 @@ DATABASE_SAVE_MESSAGE_UPDATE=false
4242DATABASE_SAVE_DATA_CONTACTS = false
4343DATABASE_SAVE_DATA_CHATS = false
4444
45- REDIS_ENABLED = false
45+ REDIS_ENABLED = true
4646REDIS_URI = redis://redis:6379
47- REDIS_PREFIX_KEY = evolution
47+ REDIS_PREFIX_KEY = evdocker
4848
4949# Global Webhook Settings
5050# Each instance's Webhook URL and events will be requested at the time it is created
@@ -77,7 +77,7 @@ WEBHOOK_EVENTS_CONNECTION_UPDATE=true
7777WEBHOOK_EVENTS_NEW_JWT_TOKEN = false
7878
7979# Name that will be displayed on smartphone connection
80- CONFIG_SESSION_PHONE_CLIENT = ' Evolution API '
80+ CONFIG_SESSION_PHONE_CLIENT = EvolutionAPI
8181# Browser Name = chrome | firefox | edge | opera | safari
8282CONFIG_SESSION_PHONE_NAME = chrome
8383
@@ -88,12 +88,12 @@ QRCODE_LIMIT=30
8888# We recommend using the apikey because it will allow you to use a custom token,
8989# if you use jwt, a random token will be generated and may be expired and you will have to generate a new token
9090# jwt or 'apikey'
91- AUTHENTICATION_TYPE = ' apikey'
91+ AUTHENTICATION_TYPE = apikey
9292# # Define a global apikey to access all instances.
9393# ## OBS: This key must be inserted in the request header to create an instance.
94- AUTHENTICATION_API_KEY = ' B6D711FCDE4D4FD5936544120E713976'
94+ AUTHENTICATION_API_KEY = B6D711FCDE4D4FD5936544120E713976
9595AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES = true
9696# # Set the secret key to encrypt and decrypt your token and its expiration time
9797# seconds - 3600s ===1h | zero (0) - never expires
9898AUTHENTICATION_JWT_EXPIRIN_IN = 0
99- AUTHENTICATION_JWT_SECRET = ' L0YWtjb2w554WFqPG '
99+ AUTHENTICATION_JWT_SECRET = ' L=0YWt]b2w[WF>#>:&E` '
0 commit comments