Chatwoot / Dockerfile
JPSolutions's picture
Update Dockerfile
6be721e verified
Raw History Blame Contribute Delete
778 Bytes
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"]