feat: add docker-compose.yaml with model cache persistence (#64)
Closes #28
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
.git
|
||||
.venv
|
||||
__pycache__
|
||||
*.pyc
|
||||
tests/test_custom_path.py
|
||||
temp_models/
|
||||
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
pocket-tts:
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- pocket_tts_cache:/root/.cache/pocket_tts
|
||||
- hf_cache:/root/.cache/huggingface
|
||||
command: ["uv", "run", "pocket-tts", "serve", "--host", "0.0.0.0"]
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
pocket_tts_cache:
|
||||
hf_cache:
|
||||
Reference in New Issue
Block a user