-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
44 lines (41 loc) · 1.03 KB
/
docker-compose.dev.yml
File metadata and controls
44 lines (41 loc) · 1.03 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
version: '3.8'
services:
postgres:
image: pgvector/pgvector:pg16
container_name: hotm-postgres-dev
environment:
POSTGRES_USER: hotm
POSTGRES_PASSWORD: hotm_dev_pass
POSTGRES_DB: hotm_dev
ports:
- "5433:5432"
volumes:
- hotm_postgres_data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U hotm -d hotm_dev"]
interval: 5s
timeout: 5s
retries: 5
command: >
postgres
-c shared_preload_libraries='vector'
-c max_connections=200
-c shared_buffers=256MB
# Optional: Ollama for local AI processing (uncomment if not running natively)
# ollama:
# image: ollama/ollama:latest
# container_name: hotm-ollama-dev
# ports:
# - "11434:11434"
# volumes:
# - ollama_data:/root/.ollama
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# count: all
# capabilities: [gpu]
volumes:
hotm_postgres_data:
ollama_data: