scripts/fogcutter/docker/airsonic/launch.sh

20 lines
560 B
Bash
Raw Normal View History

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 \
--volume /bigdata/media/playlists:/media/playlists:rw \
--volume /bigdata/media/podcasts:/media/podcasts:rw \
--volume /media-vtluug:/media/media-vtluug:ro \
2019-08-25 15:21:50 -04:00
--network pew-net \
2019-08-25 14:17:20 -04:00
linuxserver/airsonic:latest