/docker-couchpotato

Dockerfile to set up Couchpotato on ARM (like Raspberry Pi 2/3) and X86 based systems based on Alpine Linux

Primary LanguageShellMIT LicenseMIT

Dockerfile to set up Couchpotato on ARM and X86 based systems

Build Status

The main goal of this Dockerfile is to easily set up Couchpotato using Docker on the Raspberry Pi 2/3 (or any compatible ARM chipset) and regular X86 chipsets.

Quick setup

docker run -p 5050:5050 --name couchpotato -d -v /*custom_config_dir*:/config -v /*custom_data_dir*:/data -v /*movies_dir*:/movies -v /*download_dir*:/downloads -v /etc/localtime:/etc/localtime:ro erikdevries/rpi-couchpotato

Please use erikdevries/couchpotato when running on X86 hardware.

More details

The command above runs the Docker image and sets a couple of custom paths.

  • /config where the configuration is stored (it's advised to configure this so the configuration is stored outside of the container)
    • e.g. /home/pi/couchpotato/config
  • /data where the database, logs, plugins and cache are stored (it's advised to configure this so the database is stored outside of the container)
    • e.g. /home/pi/couchpotato/data
  • /movies should point to the location where CouchPotato should move downloaded movies to (e.g. a folder/nfs share on the host)
    • e.g. /mnt/movies
  • /downloads should point to the location where (e.g. sabnzbd) downloads movies to be processed by CouchPotato (e.g. a folder/nfs share on the host)
    • e.g. /mnt/downloads
  • /etc/localtime points to locale of the host, this is optional but might come in handy when you configured a custom locale
    • e.g. /etc/localtime:ro

Secondly the command exposes the container on port 5050, names it "couchpotato" and runs it detached (so it will run in the background).

In the command above the image is pulled from Docker Hub. If you want to build the image yourself, you can. See below.

Build Docker container

docker build -t rpi-couchpotato .

Finally run the command in quick setup but replace erikdevries/rpi-couchpotato with rpi-couchpotato or couchpotato