Skip to content

Commit 836bcab

Browse files
committed
Merge branch 'develop' of github.com:EvolutionAPI/evolution-api into develop
2 parents 2d20a07 + 24c5c70 commit 836bcab

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

Docker/.env.example

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
SERVER_URL='http://localhost:8080' # http://localhost:3333 | http://localhost:3333/api/v1
1+
# Server URL - Set your application url
2+
SERVER_URL='http://localhost:8080'
23

3-
CORS_ORIGIN='*' # Or separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
4+
# Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
5+
CORS_ORIGIN='*'
46
CORS_METHODS='POST,GET,PUT,DELETE'
57
CORS_CREDENTIALS=true
68

79
# Determine the logs to be displayed
810
LOG_LEVEL='ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS'
911
LOG_COLOR=true
10-
LOG_BAILEYS=error # fatal | error | warn | info | debug | trace
12+
# Log Baileys - "fatal" | "error" | "warn" | "info" | "debug" | "trace"
13+
LOG_BAILEYS=error
1114

1215
# Determine how long the instance should be deleted from memory in case of no connection.
1316
# Default time: 5 minutes
@@ -20,7 +23,8 @@ STORE_MESSAGE_UP=true
2023
STORE_CONTACTS=true
2124
STORE_CHATS=true
2225

23-
CLEAN_STORE_CLEANING_INTERVAL=7200 # seconds === 2h
26+
# Set Store Interval in Seconds (7200 = 2h)
27+
CLEAN_STORE_CLEANING_INTERVAL=7200
2428
CLEAN_STORE_MESSAGES=true
2529
CLEAN_STORE_MESSAGE_UP=true
2630
CLEAN_STORE_CONTACTS=true
@@ -45,7 +49,7 @@ REDIS_PREFIX_KEY=evolution
4549
# Global Webhook Settings
4650
# Each instance's Webhook URL and events will be requested at the time it is created
4751
## Define a global webhook that will listen for enabled events from all instances
48-
WEBHOOK_GLOBAL_URL='<url>'
52+
WEBHOOK_GLOBAL_URL=''
4953
WEBHOOK_GLOBAL_ENABLED=false
5054
# With this option activated, you work with a url per webhook event, respecting the global url and the name of each event
5155
WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS=false
@@ -74,28 +78,32 @@ WEBHOOK_EVENTS_NEW_JWT_TOKEN=false
7478

7579
# Name that will be displayed on smartphone connection
7680
CONFIG_SESSION_PHONE_CLIENT='Evolution API'
77-
CONFIG_SESSION_PHONE_NAME=chrome # chrome | firefox | edge | opera | safari
81+
# Browser Name = chrome | firefox | edge | opera | safari
82+
CONFIG_SESSION_PHONE_NAME=chrome
7883

7984
# Set qrcode display limit
8085
QRCODE_LIMIT=30
8186

8287
# Defines an authentication type for the api
8388
# We recommend using the apikey because it will allow you to use a custom token,
8489
# if you use jwt, a random token will be generated and may be expired and you will have to generate a new token
85-
AUTHENTICATION_TYPE='apikey' # jwt or 'apikey'
90+
# jwt or 'apikey'
91+
AUTHENTICATION_TYPE='apikey'
8692
## Define a global apikey to access all instances.
8793
### OBS: This key must be inserted in the request header to create an instance.
8894
AUTHENTICATION_API_KEY='B6D711FCDE4D4FD5936544120E713976'
8995
AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true
9096
## Set the secret key to encrypt and decrypt your token and its expiration time
91-
AUTHENTICATION_JWT_EXPIRIN_IN=0 # seconds - 3600s ===1h | zero (0) - never expires
97+
# seconds - 3600s ===1h | zero (0) - never expires
98+
AUTHENTICATION_JWT_EXPIRIN_IN=0
9299
AUTHENTICATION_JWT_SECRET='L0YWtjb2w554WFqPG'
93100
# Set the instance name and webhook url to create an instance in init the application
94101
# With this option activated, you work with a url per webhook event, respecting the local url and the name of each event
95-
AUTHENTICATION_INSTANCE_MODE=server # container or server
102+
# container or server
103+
AUTHENTICATION_INSTANCE_MODE=server
96104
# if you are using container mode, set the container name and the webhook url to default instance
97105
AUTHENTICATION_INSTANCE_NAME=evolution
98-
AUTHENTICATION_INSTANCE_WEBHOOK_URL='<url>'
106+
AUTHENTICATION_INSTANCE_WEBHOOK_URL=''
99107
AUTHENTICATION_INSTANCE_CHATWOOT_ACCOUNT_ID=1
100108
AUTHENTICATION_INSTANCE_CHATWOOT_TOKEN=123456
101-
AUTHENTICATION_INSTANCE_CHATWOOT_URL='<url>'
109+
AUTHENTICATION_INSTANCE_CHATWOOT_URL=''

0 commit comments

Comments
 (0)