-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 881 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (33 loc) · 881 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
services:
app:
build:
context: .
target: development
container_name: multi-modal-rag
volumes:
# Mount source code for live development
- ./src:/app/src:ro
# Mount data directories
- ./db:/app/db
- ./documents:/app/documents
- ./logs:/app/logs
# Mount .env file
- ./.env:/app/.env:ro
environment:
- PYTHONUNBUFFERED=1
stdin_open: true
tty: true
restart: unless-stopped
# For GUI applications, you may need X11 forwarding
# Uncomment based on your platform:
# Linux:
# environment:
# - DISPLAY=${DISPLAY}
# volumes:
# - /tmp/.X11-unix:/tmp/.X11-unix:ro
# macOS (requires XQuartz):
# environment:
# - DISPLAY=host.docker.internal:0
# Windows (requires VcXsrv or similar):
# environment:
# - DISPLAY=host.docker.internal:0.0