-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (31 loc) · 822 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
33 lines (31 loc) · 822 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
services:
# Flask application with Piper TTS built-in
app:
build: .
container_name: talkpi-app
ports:
- "5001:5000"
env_file:
- env.docker
volumes:
# Mount front folder for live frontend updates (no rebuild needed)
- ./front:/app/front:ro
restart: unless-stopped
# Optional: Local Ollama (comment out if using external Ollama)
# ollama:
# image: ollama/ollama:latest
# container_name: talkpi-ollama
# volumes:
# - ollama_data:/root/.ollama
# ports:
# - "11434:11434"
# # GPU support (uncomment if you have NVIDIA GPU)
# # deploy:
# # resources:
# # reservations:
# # devices:
# # - driver: nvidia
# # count: all
# # capabilities: [gpu]
# volumes:
# ollama_data: