companionapi now will be the main library

This commit is contained in:
Dallas Groot 2026-04-10 08:36:06 -07:00
parent 25a96c6a5d
commit 99e849b262
2 changed files with 804 additions and 320 deletions

View file

@ -12,7 +12,6 @@ services:
- ND_BASEURL=/navidrome
# ... other env vars ...
volumes:
# Absolute path to your music
- /home/pi/navidrome:/music:ro
- ./navidrome_data:/data
@ -23,15 +22,18 @@ services:
ports:
- "8000:8000"
volumes:
# Mount the ACTUAL music directory — not the parent navidrome folder
# Host: /home/pi/navidrome/music → Container: /music
- /home/pi/navidrome/music:/music:rw
# Persistent data: Smart DJ DB + visualizer frame cache
- ./companion_data:/app/data
# Phase 1: separate named volumes for cover art and artist photos
# These persist across container rebuilds
- companion_cover_art:/app/data/cover_art
- companion_artist_photos:/app/data/artist_photos
environment:
- MUSIC_DIR=/music
- DB_PATH=/app/data/smart_dj.db
- VIS_CACHE_DIR=/app/data/vis_cache
- COVER_ART_DIR=/app/data/cover_art
- ARTIST_PHOTO_DIR=/app/data/artist_photos
- NAVIDROME_URL=http://navidrome:4533/navidrome
- SUBSONIC_USER=dallas
- SUBSONIC_TOKEN=your_token
@ -43,3 +45,7 @@ services:
memory: 1G
depends_on:
- navidrome
volumes:
companion_cover_art:
companion_artist_photos:

File diff suppressed because it is too large Load diff