-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 902 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (32 loc) · 902 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
services:
backend:
build: ./backend
ports:
- "8000:8000"
env_file:
- .env
environment:
- APP_ENV=production
# Allows the backend to reach Ollama/LM Studio running on the host.
# Docker Desktop (Windows/Mac) resolves host.docker.internal automatically.
# On Linux you may need to replace this with your host's IP (e.g. 172.17.0.1).
- OLLAMA_HOST=host.docker.internal
- LMSTUDIO_HOST=host.docker.internal
# Required on Linux Docker (no-op on Docker Desktop)
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- deepquery-data:/app/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/api/v1/health"]
interval: 30s
timeout: 5s
retries: 3
frontend:
build: ./frontend
ports:
- "3000:80"
depends_on:
- backend
volumes:
deepquery-data: