Parameterize compose per instance and add Spotify credential refresh script

Every clone can now override COMPOSE_PROJECT_NAME, CONTAINER_NAME, MPD_PORT,
HTTP_PORT, MOPIDY_CONFIG and MUSIC_DIR via .env to run an isolated Mopidy
instance (see .env.example). scripts/refresh-spotify-creds.py regenerates the
librespot credentials blob for whichever instance the local .env points at.
This commit is contained in:
2026-09-20 12:44:11 -04:00
parent 20ba018a03
commit 9d19c5d443
4 changed files with 353 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
.env
config/mopidy.conf
music