Sign inSign up

jpiron/medusa

By jpiron

Updated 26 days ago

Dockerfile to set up Medusa

Image
0

979

jpiron/medusa repository overview

Docker Medusa

Dockerfile to set up Medusa

medusa

Repository

Sources are here

Run

docker pull jpiron/medusa
docker run jpiron/medusa

However, you're more likely to run the container with following:

docker run -d --restart=always --name medusa \
-p 8081:8081 \
--user $(id -u ${USER}):$(id -g ${USER}) \
-e TZ=$(cat /etc/timezone) \
-v <YOUR_MEDUSA_DATA_DIRECTORY>:/medusa/datadir \
-v <YOUR_DOWNLOAD_DIRECTORY>:/downloads \
-v <YOUR_TV_SHOWS_DIRECTORY>:/tv \
jpiron/medusa

Build

VERSION=v0.4.0 make build
VERSION=v0.4.0 NO_CACHE=1 PULL=1 make build

Parameters

  • user: Docker run parameter to set the user/group to run the container with;
  • TZ: the timzeone to run the container with;
  • YOUR_MEDUSA_DATA_DIRECTORY: if you want Medusa data directory to be hold in a local directory. If the directory contains a config.ini file it will be used to configure Medusa.
  • YOUR_DOWNLOAD_DIRECTORY: provide Medusa with an access to your download directory. Can be used by post-processing scripts.
  • YOUR_TV_SHOWS_DIRECTORY: provide Medusa with an access to your tv_shows directory. Can also be used by post-processing scripts.

Caveats

The Dockerfile creates a Medusa user and makes it the owner of the Medusa installation folder. When using the user parameter, the container is ran with a different user which is not the owner of the Medusa installation folder. As a result auto-updates can't be performed with the user parameter. To perform updates you will have to pull (or build) the latest image version and run it.

Versions

  • 17.08.2020: Update default version.
  • 26.03.2019: Add Docker build pull option support.
  • 26.03.2019: Add Docker build no-cache option support.
  • 06.03.2019: First release.

Tag summary

Content type

Image

Digest

sha256:f90b64562

Size

215.1 MB

Last updated

26 days ago

docker pull jpiron/medusa:v1.0.26