-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (37 loc) · 913 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (37 loc) · 913 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
38
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: github-process-manager
ports:
- "5000:5000"
environment:
- FLASK_ENV=development
- FLASK_DEBUG=True
env_file:
- .env
volumes:
# Mount code for development (hot reload)
- .:/app
# Persist database
- chroma_data:/app/chroma_db
# Persist uploads
- uploads_data:/app/uploads
# Persist generated reports
- reports_data:/app/generated_reports
# Exclude virtual env from host
- /app/venv
- /app/venv311
- /app/.venv
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:5000/health')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
volumes:
chroma_data:
uploads_data:
reports_data: