Team Ai
Apppublic

dbstrt/evolution-api-personal

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
Dockerfile37 linesDownload Raw Back to root
1ARG EVOAPI_VERSION2FROM atendai/evolution-api:$EVOAPI_VERSION3 4# HF Spaces config - use variable not hardcoded URL5ENV SERVER_URL=https://$(SPACE_HOST)6ENV SERVER_PORT=78607EXPOSE 78608 9# WebSocket10ENV WEBSOCKET_ENABLED=true11ENV WEBSOCKET_GLOBAL_EVENTS=false12 13# Session config14ENV CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI15ENV CONFIG_SESSION_PHONE_NAME=Chrome16ENV CONFIG_SESSION_PHONE_VERSION=2.3000.103063080417ENV BAILEYS_VERSION=2.3000.102987881618 19# No database - in-memory only (for testing)20ENV DATABASE_ENABLED=false21ENV CACHE_REDIS_ENABLED=false22 23# Store in memory (lost on restart)24ENV STORE_MESSAGES=true25ENV STORE_MESSAGE_UP=true26ENV STORE_CONTACTS=true27ENV STORE_CHATS=true28 29# Auth from Space secrets30ENV AUTHENTICATION_API_KEY=${AUTHENTICATION_API_KEY}31 32# CORS33ENV CORS_ORIGIN=*34 35# Start36CMD ["npm", "run", "start:prod"]37