mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-23 04:22:02 -06:00
fix: remove comments in .env to docker
fix: remove comments in .env to docker
This commit is contained in:
commit
24c5c70466
@ -1,13 +1,16 @@
|
|||||||
SERVER_URL='http://localhost:8080' # http://localhost:3333 | http://localhost:3333/api/v1
|
# Server URL - Set your application url
|
||||||
|
SERVER_URL='http://localhost:8080'
|
||||||
|
|
||||||
CORS_ORIGIN='*' # Or separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
|
# Cors - * for all or set separate by commas - ex.: 'yourdomain1.com, yourdomain2.com'
|
||||||
|
CORS_ORIGIN='*'
|
||||||
CORS_METHODS='POST,GET,PUT,DELETE'
|
CORS_METHODS='POST,GET,PUT,DELETE'
|
||||||
CORS_CREDENTIALS=true
|
CORS_CREDENTIALS=true
|
||||||
|
|
||||||
# Determine the logs to be displayed
|
# Determine the logs to be displayed
|
||||||
LOG_LEVEL='ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS'
|
LOG_LEVEL='ERROR,WARN,DEBUG,INFO,LOG,VERBOSE,DARK,WEBHOOKS'
|
||||||
LOG_COLOR=true
|
LOG_COLOR=true
|
||||||
LOG_BAILEYS=error # fatal | error | warn | info | debug | trace
|
# Log Baileys - "fatal" | "error" | "warn" | "info" | "debug" | "trace"
|
||||||
|
LOG_BAILEYS=error
|
||||||
|
|
||||||
# Determine how long the instance should be deleted from memory in case of no connection.
|
# Determine how long the instance should be deleted from memory in case of no connection.
|
||||||
# Default time: 5 minutes
|
# Default time: 5 minutes
|
||||||
@ -20,7 +23,8 @@ STORE_MESSAGE_UP=true
|
|||||||
STORE_CONTACTS=true
|
STORE_CONTACTS=true
|
||||||
STORE_CHATS=true
|
STORE_CHATS=true
|
||||||
|
|
||||||
CLEAN_STORE_CLEANING_INTERVAL=7200 # seconds === 2h
|
# Set Store Interval in Seconds (7200 = 2h)
|
||||||
|
CLEAN_STORE_CLEANING_INTERVAL=7200
|
||||||
CLEAN_STORE_MESSAGES=true
|
CLEAN_STORE_MESSAGES=true
|
||||||
CLEAN_STORE_MESSAGE_UP=true
|
CLEAN_STORE_MESSAGE_UP=true
|
||||||
CLEAN_STORE_CONTACTS=true
|
CLEAN_STORE_CONTACTS=true
|
||||||
@ -45,7 +49,7 @@ REDIS_PREFIX_KEY=evolution
|
|||||||
# Global Webhook Settings
|
# Global Webhook Settings
|
||||||
# Each instance's Webhook URL and events will be requested at the time it is created
|
# Each instance's Webhook URL and events will be requested at the time it is created
|
||||||
## Define a global webhook that will listen for enabled events from all instances
|
## Define a global webhook that will listen for enabled events from all instances
|
||||||
WEBHOOK_GLOBAL_URL='<url>'
|
WEBHOOK_GLOBAL_URL=''
|
||||||
WEBHOOK_GLOBAL_ENABLED=false
|
WEBHOOK_GLOBAL_ENABLED=false
|
||||||
# With this option activated, you work with a url per webhook event, respecting the global url and the name of each event
|
# With this option activated, you work with a url per webhook event, respecting the global url and the name of each event
|
||||||
WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS=false
|
WEBHOOK_GLOBAL_WEBHOOK_BY_EVENTS=false
|
||||||
@ -74,7 +78,8 @@ WEBHOOK_EVENTS_NEW_JWT_TOKEN=false
|
|||||||
|
|
||||||
# Name that will be displayed on smartphone connection
|
# Name that will be displayed on smartphone connection
|
||||||
CONFIG_SESSION_PHONE_CLIENT='Evolution API'
|
CONFIG_SESSION_PHONE_CLIENT='Evolution API'
|
||||||
CONFIG_SESSION_PHONE_NAME=chrome # chrome | firefox | edge | opera | safari
|
# Browser Name = chrome | firefox | edge | opera | safari
|
||||||
|
CONFIG_SESSION_PHONE_NAME=chrome
|
||||||
|
|
||||||
# Set qrcode display limit
|
# Set qrcode display limit
|
||||||
QRCODE_LIMIT=30
|
QRCODE_LIMIT=30
|
||||||
@ -82,20 +87,23 @@ QRCODE_LIMIT=30
|
|||||||
# Defines an authentication type for the api
|
# Defines an authentication type for the api
|
||||||
# We recommend using the apikey because it will allow you to use a custom token,
|
# We recommend using the apikey because it will allow you to use a custom token,
|
||||||
# if you use jwt, a random token will be generated and may be expired and you will have to generate a new token
|
# if you use jwt, a random token will be generated and may be expired and you will have to generate a new token
|
||||||
AUTHENTICATION_TYPE='apikey' # jwt or 'apikey'
|
# jwt or 'apikey'
|
||||||
|
AUTHENTICATION_TYPE='apikey'
|
||||||
## Define a global apikey to access all instances.
|
## Define a global apikey to access all instances.
|
||||||
### OBS: This key must be inserted in the request header to create an instance.
|
### OBS: This key must be inserted in the request header to create an instance.
|
||||||
AUTHENTICATION_API_KEY='B6D711FCDE4D4FD5936544120E713976'
|
AUTHENTICATION_API_KEY='B6D711FCDE4D4FD5936544120E713976'
|
||||||
AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true
|
AUTHENTICATION_EXPOSE_IN_FETCH_INSTANCES=true
|
||||||
## Set the secret key to encrypt and decrypt your token and its expiration time
|
## Set the secret key to encrypt and decrypt your token and its expiration time
|
||||||
AUTHENTICATION_JWT_EXPIRIN_IN=0 # seconds - 3600s ===1h | zero (0) - never expires
|
# seconds - 3600s ===1h | zero (0) - never expires
|
||||||
|
AUTHENTICATION_JWT_EXPIRIN_IN=0
|
||||||
AUTHENTICATION_JWT_SECRET='L0YWtjb2w554WFqPG'
|
AUTHENTICATION_JWT_SECRET='L0YWtjb2w554WFqPG'
|
||||||
# Set the instance name and webhook url to create an instance in init the application
|
# Set the instance name and webhook url to create an instance in init the application
|
||||||
# With this option activated, you work with a url per webhook event, respecting the local url and the name of each event
|
# With this option activated, you work with a url per webhook event, respecting the local url and the name of each event
|
||||||
AUTHENTICATION_INSTANCE_MODE=server # container or server
|
# container or server
|
||||||
|
AUTHENTICATION_INSTANCE_MODE=server
|
||||||
# if you are using container mode, set the container name and the webhook url to default instance
|
# if you are using container mode, set the container name and the webhook url to default instance
|
||||||
AUTHENTICATION_INSTANCE_NAME=evolution
|
AUTHENTICATION_INSTANCE_NAME=evolution
|
||||||
AUTHENTICATION_INSTANCE_WEBHOOK_URL='<url>'
|
AUTHENTICATION_INSTANCE_WEBHOOK_URL=''
|
||||||
AUTHENTICATION_INSTANCE_CHATWOOT_ACCOUNT_ID=1
|
AUTHENTICATION_INSTANCE_CHATWOOT_ACCOUNT_ID=1
|
||||||
AUTHENTICATION_INSTANCE_CHATWOOT_TOKEN=123456
|
AUTHENTICATION_INSTANCE_CHATWOOT_TOKEN=123456
|
||||||
AUTHENTICATION_INSTANCE_CHATWOOT_URL='<url>'
|
AUTHENTICATION_INSTANCE_CHATWOOT_URL=''
|
||||||
|
Loading…
Reference in New Issue
Block a user