Skip to content

Commit 956c391

Browse files
authored
Remoção de Comentários dos Valores
Ao subir um container de testes, verifiquei que os comentários subiram como valores dos campos, o que invalidou algumas conigurações.
1 parent 23bbb3e commit 956c391

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='<url>' # ex.: http://localhost:3333
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
@@ -73,28 +77,32 @@ WEBHOOK_EVENTS_NEW_JWT_TOKEN=false
7377

7478
# Name that will be displayed on smartphone connection
7579
CONFIG_SESSION_PHONE_CLIENT='Evolution API'
76-
CONFIG_SESSION_PHONE_NAME=chrome # chrome | firefox | edge | opera | safari
80+
# Browser Name = chrome | firefox | edge | opera | safari
81+
CONFIG_SESSION_PHONE_NAME=chrome
7782

7883
# Set qrcode display limit
7984
QRCODE_LIMIT=30
8085

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

0 commit comments

Comments
 (0)