stacks/homelab/readarr/run

16 lines
384 B
Bash
Executable File

#! /bin/sh
image=lscr.io/linuxserver/readarr:develop
[ -f upgrade ] && podman pull $image && rm upgrade
me=$(basename $(pwd))
podman rm $me
podman run \
--name $me \
--network homelab \
--volume /srv/sys/readarr:/config \
--volume /srv/media/books:/srv/media/books \
--volume /srv/media/audiobooks:/srv/media/audiobooks \
--volume /srv/incoming:/srv/incoming \
$image