Update subsonic.sh

This commit is contained in:
casjay 2020-09-08 21:51:40 -04:00 committed by GitHub
parent 4380cca812
commit bec31482b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,13 @@
mkdir -p /var/lib/docker/storage/airsonic/{music,podcasts,playlists,data} && chmod -Rf 777 /var/lib/docker/storage/airsonic
docker run -d \ docker run -d \
--name=subsonic \ --name=airsonic \
--hostname subsonic \ --hostname airsonic \
--restart=always \ --restart=always \
--privileged \ --privileged \
-p 4040:4040 \ -p 4040:4040 \
-v /mnt/media/Music:/var/music:ro \ -v /var/lib/docker/storage/airsonic/music:/airsonic/music:z \
registry.casjay.in/latest/subsonic:6 -v /var/lib/docker/storage/airsonic/podcasts:/airsonic/podcasts:z \
-v /var/lib/docker/storage/airsonic/playlists:/airsonic/playlists:z \
-v /var/lib/docker/storage/airsonic/data:/airsonic/data:z \
airsonic/airsonic:latest