primer commit

This commit is contained in:
2026-01-17 21:43:47 -06:00
commit c8450ed5a8
40 changed files with 11170 additions and 0 deletions

38
docker-compose.yml Normal file
View File

@@ -0,0 +1,38 @@
version: "3.8"
services:
gateway:
build:
context: ./gateway
image: whatsapp-gateway
container_name: whatsapp-gateway
restart: always
ports:
- "3001:3001" # API Port
- "3003:3003" # WebSocket Port
environment:
- PORT=3001
- SESSION_ID=default
- WEBHOOK_URL=http://n8n:5678/webhook/whatsapp # Example for n8n container
volumes:
- ./gateway/auth_info:/app/auth_info # Persist WhatsApp Session
- ./gateway/gateway.log:/app/gateway.log
networks:
- whatsapp-network
manager:
build:
context: ./manager
image: whatsapp-manager
container_name: whatsapp-manager
restart: always
ports:
- "3002:80" # Web Interface
depends_on:
- gateway
networks:
- whatsapp-network
networks:
whatsapp-network:
driver: bridge