Dockerfile to set up CouchPotato (https://couchpota.to/)
1.5K
Dockerfile to set up CouchPotato
Sources are here.
docker pull jpiron/couchpotato
docker run jpiron/couchpotato
However, you're more likely to run the container with following:
docker run -d --restart=always --name couchpotato \
-p 5050:5050 \
--user $(id -u ${USER}):$(id -g ${USER}) \
-e TZ=$(cat /etc/timezone) \
-v "${HOME}/.couchpotato":/couchpotato/datadir \
-v "${HOME}/movies":/movies \
jpiron/couchpotato
The Dockerfile creates a couchpotato user and makes it the owner of the couchpotato installation folder. When using the user parameter, the container is ran with a different user which is not the owner of the couchpotato installation folder. As a result, in-software git auto-updates won't work with the user parameter. To perform updates you will have to pull (or build) the latest image version and run it.
MIT
docker pull jpiron/couchpotato:latest