-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (45 loc) · 1.05 KB
/
docker-compose.yml
File metadata and controls
48 lines (45 loc) · 1.05 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
services:
gbot:
build: .
container_name: gbot
ports:
- "127.0.0.1:8000:8000"
environment:
- TZ=Europe/Istanbul
env_file:
- .env
volumes:
- ./data:/app/data
- ./workspace:/app/workspace
- ./config:/app/config:ro
restart: unless-stopped
dashboard:
build: ./dashboard
container_name: gbot-dashboard
ports:
- "127.0.0.1:3001:80"
depends_on:
gbot:
condition: service_started
restart: unless-stopped
waha:
image: devlikeapro/waha
container_name: waha
ports:
- "127.0.0.1:3000:3000"
environment:
- WHATSAPP_DEFAULT_ENGINE=NOWEB
- WAHA_API_KEY=2275f9a154174f18a912644829b8dad4
- WAHA_API_KEY_EXCLUDE_PATH=health,ping
- WHATSAPP_RESTART_ALL_SESSIONS=true
- TZ=Europe/Istanbul
volumes:
- waha_sessions:/app/.sessions
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/ping"]
interval: 10s
timeout: 5s
retries: 3
restart: unless-stopped
volumes:
waha_sessions: