Update docker-compose.yaml

updated music directory so that it is read only and added environment variable so explo knows where to scan for existing music
This commit is contained in:
2026-07-19 11:18:09 -05:00
parent 5b6d423626
commit d522d62635
+3 -2
View File
@@ -8,11 +8,12 @@ services:
volumes: volumes:
- /srv/docker/explo/.env:/opt/explo/.env - /srv/docker/explo/.env:/opt/explo/.env
- /srv/docker/explo/config:/opt/explo/config # required — stores playlist cache and cover art - /srv/docker/explo/config:/opt/explo/config # required — stores playlist cache and cover art
- /srv/music/explo:/data/ # has to be in the same path you have your music system pointed to (it's recommended to put explo under a subfolder) - /srv/music:/music/:ro # has to be in the same path you have your music system pointed to (it's recommended to put explo under a subfolder)
# - /path/to/slskd/downloads:/slskd/ # if using slskd # - /path/to/slskd/downloads:/slskd/ # if using slskd
environment: environment:
- TZ=UTC # Change this to the timezone set in ListenBrainz (default is UTC) - TZ=UTC # Change this to the timezone set in ListenBrainz (default is UTC)
- WEB_UI=true - WEB_UI=true
# Web UI credentials (required for login) # Web UI credentials (required for login)
- UI_USERNAME=mattspeer - UI_USERNAME=mattspeer
- UI_PASSWORD=Unlined6-Aloha-Carat - UI_PASSWORD=Unlined6-Aloha-Carat
- MUSIC_DIR=/music