FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
evolution-api/env.example at main · NathanConde-dev/evolution-api · GitHub
NathanConde-dev
/
evolution-api
Public
Notifications
You must be signed in to change notification settings
Fork
260
Star
9
Code
Issues
0
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
evolution-api
/
env.example
Copy path
More file actions
More file actions
Latest commit
History
History
History
47 lines (39 loc) · 1.74 KB
Breadcrumbs
evolution-api
/
env.example
Copy path
File metadata and controls
47 lines (39 loc) · 1.74 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# ======================================================
# Configurações essenciais (já presentes no seu env)
# ======================================================
DATABASE_ENABLED=true
DATABASE_PROVIDER=postgresql
DATABASE_CONNECTION_URI=postgresql://evolution_user:evolution_password@postgres:5432/evolution_db?schema=public
DATABASE_CONNECTION_CLIENT_NAME=evolution_exchange
DATABASE_SAVE_DATA_INSTANCE=true
DATABASE_SAVE_DATA_NEW_MESSAGE=true
DATABASE_SAVE_MESSAGE_UPDATE=true
DATABASE_SAVE_DATA_CONTACTS=true
DATABASE_SAVE_DATA_CHATS=true
DATABASE_SAVE_DATA_LABELS=true
DATABASE_SAVE_DATA_HISTORIC=true
CACHE_REDIS_ENABLED=true
CACHE_REDIS_URI=redis://default:senha_redis@redis:6379/6
CACHE_REDIS_PREFIX_KEY=evolution
CACHE_REDIS_SAVE_INSTANCES=false
CACHE_LOCAL_ENABLED=false
AUTHENTICATION_API_KEY=fLfTsOuvE6un1Gyz4nYwyQbho4OXHHqj
POSTGRES_USER=evolution_user
POSTGRES_PASSWORD=evolution_password
POSTGRES_DB=evolution_db
# ======================================================
# NOVAS VARIÁVEIS PARA WEBSOCKET / QR CODE / RABBITMQ
# ======================================================
# ==> WebSocket (imprescindível para o QR Code ser enviado em tempo real)
WEBSOCKET_ENABLED=true
WEBSOCKET_GLOBAL_EVENTS=true
# ==> RabbitMQ (se você quiser receber eventos via fila; opcional se usar WebSocket puro)
RABBITMQ_ENABLED=true
RABBITMQ_GLOBAL_ENABLED=false
RABBITMQ_URI=amqp://guest:guest@rabbitmq:5672
RABBITMQ_EXCHANGE_NAME=evolution_exchange
RABBITMQ_EVENTS_QRCODE_UPDATED=true
# ==> Controle do QR Code
QRCODE_LIMIT=60 # tempo de validade do QR Code em segundos
QRCODE_COLOR=000000 # cor do QR Code em hexadecimal
# Outras variáveis opcionais de Webhook / Typebot / etc podem ser adicionadas aqui
Back
|
FazBrowse Home
|
New Git URL