-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
62 lines (58 loc) · 1.15 KB
/
docker-compose.yml
File metadata and controls
62 lines (58 loc) · 1.15 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
58
59
60
61
62
version: "3"
services:
evolution-api:
container_name: evolution_api
image: evoapicloud/evolution-api:v2.3.4
restart: always
ports:
- "8080:8080"
env_file:
- .env
volumes:
- evolution_instances:/evolution/instances
depends_on:
- postgres
- redis
postgres:
container_name: postgres
image: postgres:15
command: ["postgres", "-c", "max_connections=1000"]
restart: always
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=postgres
volumes:
- postgres_data:/var/lib/postgresql/data
expose:
- 5432
redis:
image: redis:latest
container_name: redis
command: >
redis-server --port 6379 --appendonly yes
volumes:
- redis:/data
ports:
- 6379:6379
bot:
build: .
container_name: bot
ports:
- "8000:8000"
env_file:
- .env
depends_on:
- evolution-api
- redis
restart: always
volumes:
- ./vectorstore_data:/app/vectorstore
- ./rag_files:/app/rag_files
volumes:
evolution_store:
evolution_instances:
postgres_data:
redis:
vectorstore_data:
rag_files: