-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
72 lines (71 loc) · 1.49 KB
/
Copy pathdocker-compose.yml
File metadata and controls
72 lines (71 loc) · 1.49 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
63
64
65
66
67
68
69
70
71
72
version: '3'
services:
minio:
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: password
volumes:
- ./minio:/data
command: server /data --console-address ":9001"
networks:
- code-network
redis:
image: redis/redis-stack-server:latest
container_name: redis
hostname: redis
environment:
REDIS_ARGS: "--requirepass password"
logging:
driver: 'json-file'
options:
max-size: '2m'
max-file: '5'
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
networks:
- code-network
ports:
- 6379:6379
chromadb:
image: ghcr.io/chroma-core/chroma:0.5.23
container_name: chromadb
volumes:
- ./chroma:/chroma/chroma/ # Persist data to a volume
environment:
- CHROMA_SERVER_HOST=0.0.0.0
- CHROMA_SERVER_PORT=8000
- ALLOW_RESET=TRUE
networks:
- code-network
ports:
- 8000:8000
postgres:
image: postgres:13
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: iank
POSTGRES_DB: mydb
ports:
- 5432:5432
volumes:
- ./mydb:/var/lib/postgresql/data
networks:
- code-network
# app:
# build: .
# ports:
# - 8081:8081
# networks:
# - code-network
# restart: always
# command: "python main.py serve"
# volumes:
# - ./:/app/
networks:
code-network:
driver: bridge