-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (36 loc) · 1.02 KB
/
docker-compose.yml
File metadata and controls
37 lines (36 loc) · 1.02 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
services:
pptgen:
build:
context: .
dockerfile: Dockerfile
image: pptgen:v2
container_name: pptgen-v2
ports:
- "7860:7860"
volumes:
- ./data:/app/data:ro
- ./output:/app/output
- ./skills_library:/app/skills_library:ro
environment:
- PYTHONUNBUFFERED=1
- PYTHONPATH=/app/src
# Configure your LLM provider here:
# - OPENAI_API_KEY=${OPENAI_API_KEY}
# - OPENAI_API_BASE=${OPENAI_API_BASE}
# - LLM_MODEL=${LLM_MODEL}
# - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}
# - MOCK_LLM=${MOCK_LLM:-0}
command: ["--mode", "gradio", "--port", "7860"]
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:7860')"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
restart: unless-stopped
# Optional: Redis for persistent HITL sessions
# redis:
# image: redis:7-alpine
# container_name: pptgen-redis
# ports:
# - "6379:6379"