tools/scripts/couchpotato.sh
2023-02-23 23:38:31 -05:00

15 lines
646 B
Bash
Executable File

#!/usr/bin/env bash
mkdir -p /var/lib/docker/storage/couchpotato/transmission-daemon/{etc,watch,downloads} &&
chmod -Rf 777 /var/lib/docker/storage/couchpotato/transmission-daemon
docker run -d --name=transmission-couchpotato \
--restart always \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/etc:/config \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/downloads:/downloads \
-v /var/lib/docker/storage/couchpotato/transmission-daemon/watch:/watch \
-v /mnt/torrents:/mnt/torrents \
-p 9091:9091 \
-p 51413:51413 \
-p 51413:51413/udp --restart=always \
registry.casjay.in/latest/transmission:latest