@@ -5,7 +5,7 @@ CORS_CREDENTIALS=true
55# Determine the logs to be displayed
66LOG_LEVEL = ' ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS'
77LOG_COLOR = true
8- LOG_BAILEYS = error
8+ LOG_BAILEYS = error # "fatal" | "error" | "warn" | "info" | "debug" | "trace"
99
1010# Determine how long the instance should be deleted from memory in case of no connection.
1111# Default time: 5 minutes
@@ -28,6 +28,7 @@ DATABASE_ENABLED=false
2828DATABASE_CONNECTION_URI = mongodb://root:root@mongodb:27017/?authSource=admin&readPreference=primary&ssl=false&directConnection=true
2929DATABASE_CONNECTION_DB_PREFIX_NAME = evolution
3030
31+ # Choose the data you want to save in the application's database or store
3132DATABASE_SAVE_DATA_INSTANCE = true
3233DATABASE_SAVE_DATA_OLD_MESSAGE = false
3334DATABASE_SAVE_DATA_NEW_MESSAGE = true
@@ -41,7 +42,7 @@ REDIS_PREFIX_KEY=evolution
4142
4243# Webhook Settings
4344# # Define a global webhook that will listen for enabled events from all instances
44- WEBHOOK_GLOBAL_URL = <url>
45+ WEBHOOK_GLOBAL_URL = ' <url>'
4546WEBHOOK_GLOBAL_ENABLED = false
4647# With this option activated, you work with a url per webhook event, respecting the global url and the name of each event
4748WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS = false
@@ -66,6 +67,7 @@ WEBHOOK_EVENTS_CONNECTION_UPDATE=true
6667# This event fires every time a new token is requested via the refresh route
6768WEBHOOK_EVENTS_NEW_JWT_TOKEN = true
6869
70+ # Name that will be displayed on smartphone connection
6971CONFIG_SESSION_PHONE_CLIENT = Evolution API
7072CONFIG_SESSION_PHONE_NAME = chrome # chrome | firefox | edge | opera | safari
7173
@@ -81,7 +83,9 @@ AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true
8183# # Set the secret key to encrypt and decrypt your token and its expiration time
8284AUTHENTICATION_JWT_EXPIRIN_IN = 0 # seconds - 3600s ===1h | zero (0) - never expires
8385AUTHENTICATION_JWT_SECRET = ' L0YWtjb2w554WFqPG'
84-
85- AUTHENTICATION_INSTANCE_MODE = server
86+ # Set the instance name and webhook url to create an instance in init the application
87+ # With this option activated, you work with a url per webhook event, respecting the local url and the name of each event
88+ AUTHENTICATION_INSTANCE_MODE = server # container or server
89+ # if you are using container mode, set the container name and the webhook url to default instance
8690AUTHENTICATION_INSTANCE_NAME = evolution
8791AUTHENTICATION_INSTANCE_WEBHOOK_URL = <url>
0 commit comments