File size: 778 Bytes
95592e1
59845d9
6be721e
540c4a1
 
531a089
6be721e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8b76a0f
540c4a1
 
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
FROM atendai/evolution-api:v2.1.1

# Puerto obligatorio para Hugging Face Spaces
ENV SERVER_PORT=7860
ENV PORT=7860

# Seguridad y Versión
ENV AUTHENTICATION_API_KEY=JPS_Global_Key_2026_Secret_WA
ENV CONFIG_SESSION_PHONE_VERSION=2.3000.1028355510

# Conexión Persistente a Supabase
ENV DATABASE_ENABLED=true
ENV DATABASE_PROVIDER=postgresql
ENV DATABASE_CONNECTION_URI=postgresql://postgres.zimsnpwkywpfmadhvltg:Kd4%3FfLuu-NDHFez@aws-1-sa-east-1.pooler.supabase.com:5432/postgres?schema=evolution_api
ENV DATABASE_SAVE_DATA_INSTANCE=true
ENV DATABASE_SAVE_DATA_NEW_MESSAGE=false

# Webhook hacia n8n
ENV WEBHOOK_GLOBAL_ENABLED=true
ENV WEBHOOK_GLOBAL_URL=https://jpsolutions-n8n.hf.space/webhook/evolution
ENV DEL_INSTANCE=false

EXPOSE 7860

CMD ["npm", "run", "start:prod"]