scripts/fogcutter/docker/airsonic/launch.sh

20 lines
567 B
Bash
Executable File

#!/bin/bash
# Assumes pew-net exists
# Make config dir (as non-root) before launching
docker run \
--name airsonic \
--detach \
--restart unless-stopped \
--env PUID=1000 \
--env PGID=1000 \
--env TZ=US/Eastern \
--volume $PWD/airsonic-config:/config \
--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 \
--network pew-net \
linuxserver/airsonic:v10.6.1-ls59