evolution-api-v1 / Dockerfile
sakib87654's picture
Update Dockerfile
0ca15af verified
# Evolution-API v2 WITH Supabase PostgreSQL - Transaction Pooler Port 6543
FROM atendai/evolution-api:v1.7.4
# Install bash if needed
RUN apk add --no-cache bash
# Environment variables
ENV SERVER_URL=https://sakib87654-evolution-api-v1.hf.space
ENV SERVER_PORT=7860
ENV WEBSOCKET_ENABLED=true
ENV WEBSOCKET_GLOBAL_EVENTS=false
ENV CONFIG_SESSION_PHONE_CLIENT=EvolutionAPI
ENV CONFIG_SESSION_PHONE_NAME=Chrome
# Disable Database
# Enable Database with Supabase
ENV CACHE_REDIS_ENABLED=false
ENV DATABASE_ENABLED=false
# Temporary storage in memory
ENV STORE_MESSAGES=true
ENV STORE_MESSAGE_UP=true
ENV STORE_CONTACTS=true
ENV STORE_CHATS=true
# Authentication
ENV AUTHENTICATION_API_KEY=Evo1API_9kJ7mX2nQ5wR8tY3vB6hL4pZ1dF0sA
# Expose port
EXPOSE 7860
# Start the application
CMD ["npm", "run", "start:prod"]