2019-08-25 14:17:20 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-08-25 15:27:22 -04:00
|
|
|
# Assumes pew-net exists
|
2019-08-31 18:51:01 -04:00
|
|
|
# Make config dir (as non-root) before launching
|
2019-08-25 15:27:22 -04:00
|
|
|
|
2019-08-25 14:17:20 -04:00
|
|
|
docker run \
|
|
|
|
--name airsonic \
|
|
|
|
--detach \
|
|
|
|
--restart unless-stopped \
|
|
|
|
--env PUID=1000 \
|
|
|
|
--env PGID=1000 \
|
|
|
|
--env TZ=US/Easter \
|
2019-09-08 16:17:15 -04:00
|
|
|
--volume $PWD/airsonic-config:/config \
|
2019-08-25 14:17:20 -04:00
|
|
|
--volume /bigdata/media/music:/media/music:ro \
|
2019-08-26 21:25:28 -04:00
|
|
|
--volume /bigdata/media/playlists:/media/playlists:rw \
|
|
|
|
--volume /bigdata/media/podcasts:/media/podcasts:rw \
|
2019-08-25 23:24:08 -04:00
|
|
|
--volume /media-vtluug:/media/media-vtluug:ro \
|
2019-08-25 15:21:50 -04:00
|
|
|
--network pew-net \
|
2019-10-27 17:07:48 -04:00
|
|
|
linuxserver/airsonic:v10.4.1-ls36
|