-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (34 loc) · 818 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (34 loc) · 818 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
version: '3.8'
services:
claude-analyzer:
build: .
ports:
- "5000:5000"
volumes:
# Mount source code for live reloading
- .:/app
# Persist cache and logs
- ./cache:/app/cache
- ./logs:/app/logs
environment:
- FLASK_ENV=development
- FLASK_DEBUG=1
- GITHUB_PAT=${GITHUB_PAT}
restart: unless-stopped
stdin_open: true
tty: true
# Optional: Production-like environment
claude-analyzer-prod:
build: .
ports:
- "5001:5000"
volumes:
- ./cache:/app/cache
- ./logs:/app/logs
environment:
- FLASK_ENV=production
- FLASK_DEBUG=0
- GITHUB_PAT=${GITHUB_PAT}
command: ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "--timeout", "300", "app:app"]
profiles:
- prod