-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker-compose.linux.yml
85 lines (79 loc) · 1.7 KB
/
docker-compose.linux.yml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
services:
redis:
image: redis:latest
container_name: redis
expose:
- "6379"
volumes:
- redis_data:/data
networks:
- kitchenai-network
command: redis-server --appendonly yes
# Remove network_mode: host
postgres:
image: pgvector/pgvector:pg17
container_name: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
expose:
- "5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- kitchenai-network
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
minio:
image: minio/minio:latest
container_name: minio
environment:
MINIO_ROOT_USER: "minioadmin"
MINIO_ROOT_PASSWORD: "minioadmin"
volumes:
- minio_data:/data
expose:
- "9000"
- "9001"
networks:
- kitchenai-network
command: server /data --console-address ":9001"
chroma:
image: chromadb/chroma:latest
volumes:
- chroma_data:/chroma/chroma
expose:
- "8000"
networks:
- kitchenai-network
environment:
- CHROMA_SERVER_HOST=0.0.0.0
- CHROMA_SERVER_HTTP_PORT=8000
- ALLOW_RESET=true
nats:
container_name: nats
image: nats:latest
command: ["-c", "/etc/nats/nats-server.conf"]
expose:
- "4222"
- "8222"
- "6222"
volumes:
- ./config/nats-local.conf:/etc/nats/nats-server.conf
- nats-data:/data
networks:
- kitchenai-network
networks:
kitchenai-network:
driver: bridge
volumes:
redis_data:
postgres_data:
minio_data:
chroma_data:
nats-data:
driver: local