From 8272b6a8c9f0897d9ce4e3cebad143b073e487d2 Mon Sep 17 00:00:00 2001 From: scott Date: Wed, 8 Apr 2026 19:14:44 -0400 Subject: [PATCH] Switch hf_cache from Docker volume to host bind mount Co-Authored-By: Claude Sonnet 4.6 --- .gitignore | 3 +++ docker-compose.yml | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 15201ac..77f29db 100644 --- a/.gitignore +++ b/.gitignore @@ -169,3 +169,6 @@ cython_debug/ # PyPI configuration file .pypirc + +# HuggingFace model cache (host-mounted Docker volume) +hf_cache/ diff --git a/docker-compose.yml b/docker-compose.yml index d724fe8..dab0f74 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -17,7 +17,7 @@ services: volumes: # Persist HuggingFace model/voice cache so downloads survive container restarts - - hf_cache:/root/.cache/huggingface + - ./hf_cache:/root/.cache/huggingface # Mount config so voices/settings can be changed without rebuilding - ./config.yaml:/app/config.yaml:ro @@ -42,5 +42,3 @@ services: retries: 3 start_period: 60s -volumes: - hf_cache: