@@ -33,7 +33,10 @@ CLEAN_STORE_CHATS=true
3333
3434# Permanent data storage
3535DATABASE_ENABLED = true
36- DATABASE_CONNECTION_URI = mongodb://root:root@mongodb:27017/?authSource=admin&readPreference=primary&ssl=false&directConnection=true
36+ DATABASE_CONNECTION_URI = mongodb://root:root@mongodb:27017/?authSource=admin &
37+ readPreference = primary &
38+ ssl = false &
39+ directConnection = true
3740DATABASE_CONNECTION_DB_PREFIX_NAME = evolution
3841
3942# Choose the data you want to save in the application's database or store
@@ -43,18 +46,14 @@ DATABASE_SAVE_MESSAGE_UPDATE=false
4346DATABASE_SAVE_DATA_CONTACTS = false
4447DATABASE_SAVE_DATA_CHATS = false
4548
46- REDIS_ENABLED = true
47- REDIS_URI = redis://redis:6379
48- REDIS_PREFIX_KEY = evolution
49-
5049# Global Webhook Settings
5150# Each instance's Webhook URL and events will be requested at the time it is created
5251# # Define a global webhook that will listen for enabled events from all instances
5352WEBHOOK_GLOBAL_URL = ' '
5453WEBHOOK_GLOBAL_ENABLED = false
5554# With this option activated, you work with a url per webhook event, respecting the global url and the name of each event
5655WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS = false
57- # # Set the events you want to hear
56+ # # Set the events you want to hear
5857WEBHOOK_EVENTS_APPLICATION_STARTUP = false
5958WEBHOOK_EVENTS_QRCODE_UPDATED = true
6059WEBHOOK_EVENTS_MESSAGES_SET = true
@@ -87,6 +86,14 @@ CONFIG_SESSION_PHONE_NAME=chrome
8786# Set qrcode display limit
8887QRCODE_LIMIT = 30
8988
89+ CACHE_REDIS_ENABLED = false
90+ CACHE_REDIS_URI = redis://redis:6379
91+ CACHE_REDIS_PREFIX_KEY = evolution
92+ CACHE_REDIS_TTL = 604800
93+ CACHE_REDIS_SAVE_INSTANCES = false
94+ CACHE_LOCAL_ENABLED = false
95+ CACHE_LOCAL_TTL = 604800
96+
9097# Defines an authentication type for the api
9198# We recommend using the apikey because it will allow you to use a custom token,
9299# if you use jwt, a random token will be generated and may be expired and you will have to generate a new token
@@ -109,4 +116,4 @@ AUTHENTICATION_INSTANCE_NAME=evolution
109116AUTHENTICATION_INSTANCE_WEBHOOK_URL = ' '
110117AUTHENTICATION_INSTANCE_CHATWOOT_ACCOUNT_ID = 1
111118AUTHENTICATION_INSTANCE_CHATWOOT_TOKEN = 123456
112- AUTHENTICATION_INSTANCE_CHATWOOT_URL = ' '
119+ AUTHENTICATION_INSTANCE_CHATWOOT_URL = ' '
0 commit comments