forked from ilanbenb/wa_llm
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.base.yml
More file actions
43 lines (41 loc) · 1.05 KB
/
docker-compose.base.yml
File metadata and controls
43 lines (41 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
# docker-compose.base.yml
services:
postgres:
image: pgvector/pgvector:pg17
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: webhook_db
ports:
- "5432:5432"
volumes:
- wa_llm_postgres:/var/lib/postgresql/data
command: ["postgres", "-c", "log_statement=all"]
healthcheck:
test: ["CMD-SHELL", "pg_isready -U user -d webhook_db"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
whatsapp:
image: aldinokemal2104/go-whatsapp-web-multidevice:v6.1.0
container_name: whatsapp
ports:
- "3000:3000"
restart: always
depends_on:
postgres:
condition: service_healthy
volumes:
- wa_llm_whatsapp:/app/storages
environment:
- APP_PORT=3000
- APP_OS=Chrome
- DB_URI=postgres://user:password@postgres:5432/webhook_db?sslmode=disable
- APP_BASIC_AUTH=admin:admin
- WHATSAPP_CHAT_STORAGE=false
volumes:
wa_llm_whatsapp:
name: wa_llm_whatsapp
wa_llm_postgres:
name: wa_llm_postgres