Skip to content

An auto updating FlexGet container, modified for FreeNAS Corral use.

Notifications You must be signed in to change notification settings

KlfJoat/docker-flexget-attempt1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

cpoppema/docker-flexget

Read all about FlexGet here.

An example FlexGet config.yml can be found at the bottom of this page.

Usage

docker create \
    --name=flexget \
    -e PGID=<gid> -e PUID=<uid> \
    -p 5050:5050 \
    -v <path to data>:/config \
    -v <path to downloads>:/downloads \
    cpoppema/docker-flexget

This container is based on phusion-baseimage with ssh removed. For shell access whilst the container is running do docker exec -it flexget /bin/bash.

Parameters

  • -e PGID for GroupID - see below for explanation
  • -e PUID for UserID - see below for explanation
  • -p 5050 for Web UI port - see below for explanation
  • -v /config - Location of FlexGet config.yml (DB files will be created on startup and also live in this directory)
  • -v /downloads - location of downloads on disk

Transmission

FlexGet is able to connect with transmission using transmissionrpc, which is pre-installed in this container. For more details, see http://flexget.com/wiki/Plugins/transmission.

Please note: This Docker image does NOT run Transmission. Consider running a Transmission Docker image alongside this one.

Daemon mode

This container runs flexget in daemon mode. This means by default it will run your configured tasks every hour after you've started it for the first time. If you want to run your tasks on the hour or at a different time, look at the scheduler plugin for configuration options. Configuration is automatically reloaded every time just before starting the tasks as scheduled, to apply your changes immediately you will need to restart the container.

Web UI

FlexGet is able to host a Web UI if you have this enabled in your configuration file. See the wiki for all details. To get started, simply add:

web_server: yes

The Web UI is protected by a login, you need to setup a user after starting this docker.

Connect with the running docker:

docker exec -it flexget bash

If your configuration file is named "config.yml" you can setup a password like this:

flexget -c /config/config.yml web passwd <some_password>

Now you can open the Web UI at http://<ip-of-the-machine-running-docker>:5050 and login with this password, use flexget as your username.

User / Group Identifiers

TL;DR - The PGID and PUID values set the user / group you'd like your container to 'run as' to the host OS. This can be a user you've created or even root (not recommended).

Part of what makes this container work so well is by allowing you to specify your own PUID and PGID. This avoids nasty permissions errors with relation to data volumes (-v flags). When an application is installed on the host OS it is normally added to the common group called users, Docker apps due to the nature of the technology can't be added to this group. So this feature was added to let you easily choose when running your containers.

Updates / Monitoring

  • Upgrade to the latest version of FlexGet simply docker restart flexget.
  • Monitor the logs of the container in realtime docker logs -f flexget.

Credits

About

An auto updating FlexGet container, modified for FreeNAS Corral use.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%