-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (55 loc) · 1.69 KB
/
docker-compose.yml
File metadata and controls
57 lines (55 loc) · 1.69 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
services:
waha:
container_name: waha-mac
image: devlikeapro/waha:chrome-2025.10.2
platform: linux/amd64
restart: unless-stopped
environment:
- WAHA_API_KEY=sha512:f1df2464aba40ec66b1920ac8defe8e88c48e19e485046a51ac6f983c08f58cae24dfda31d9be693ed167f9ec935e92c46d1a8a53549416c36212b5faf29029e
- WHATSAPP_SWAGGER_ENABLED=true
- WHATSAPP_SWAGGER_USERNAME=admin
- WHATSAPP_SWAGGER_PASSWORD=admin
- WHATSAPP_DEFAULT_ENGINE=NOWEB
- WHATSAPP_HOOK_EVENTS=message
- WHATSAPP_HOOK_URL=http://host.docker.internal:5678/webhook/211dc96e-3076-4201-9212-cb6ba8055ca6/waha
ports:
- "3000:3000"
volumes:
- ./tmp:/tmp
networks:
- waha-network
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
n8n:
container_name: n8n-mac
image: n8nio/n8n:2.4.4
user: node
restart: unless-stopped
environment:
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE:-America/Sao_Paulo}
- WEBHOOK_URL=${WEBHOOK_URL:-http://host.docker.internal:5678}
- N8N_USER_FOLDER=/home/node/.n8n
- N8N_CACHE_FOLDER=/home/node/.cache
- N8N_HOST=${N8N_HOST:-0.0.0.0}
- N8N_PORT=${N8N_PORT:-5678}
- N8N_PROTOCOL=${N8N_PROTOCOL:-http}
ports:
- "5678:5678"
volumes:
- ./n8n_data:/home/node/.n8n
- ./n8n_cache:/home/node/.cache
networks:
- waha-network
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:5678/healthz"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
networks:
waha-network:
driver: bridge