-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
37 lines (34 loc) · 934 Bytes
/
Copy pathcompose.yml
File metadata and controls
37 lines (34 loc) · 934 Bytes
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
# This compose file serves as an example to setup the dependency systems.
services:
ollama:
image: ollama/ollama:latest
container_name: docracy-ollama
restart: unless-stopped
command: serve
ports:
- "${OLLAMA_HTTP_PORT}:11434"
environment:
OLLAMA_HOST: 0.0.0.0:11434
volumes:
- ./ollama_data:/root/.ollama
qdrant:
image: qdrant/qdrant:latest
container_name: docracy-qdrant
restart: unless-stopped
ports:
- "${QDRANT_HTTP_PORT}:6333"
- "${QDRANT_GRPC_PORT}:6334"
volumes:
- ./qdrant_data:/qdrant/storage
postgres:
image: postgres:16
container_name: docracy-postgres
restart: unless-stopped
ports:
- "${POSTGRES_PORT}:5432"
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
volumes:
- ./postgres_data:/var/lib/postgresql/data