Browse Source

Mount metadata_cache.json for persistence

Without this mount, the metadata cache was regenerated on every
container restart because the file was lost inside the container.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
tuanchris 3 tuần trước cách đây
mục cha
commit
0741083798
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      docker-compose.yml

+ 1 - 0
docker-compose.yml

@@ -24,6 +24,7 @@ services:
       - ./patterns:/app/patterns
       - ./patterns:/app/patterns
       - ./playlists:/app/playlists
       - ./playlists:/app/playlists
       - ./state.json:/app/state.json
       - ./state.json:/app/state.json
+      - ./metadata_cache.json:/app/metadata_cache.json
       - ./static/custom:/app/static/custom
       - ./static/custom:/app/static/custom
       # Mount Docker socket for container self-restart/update
       # Mount Docker socket for container self-restart/update
       - /var/run/docker.sock:/var/run/docker.sock
       - /var/run/docker.sock:/var/run/docker.sock