Public | Automated Build

Last pushed: 3 months ago
Short Description
A docker container based on linuxserver/baseimage and running pyLoad
Full Description

docker-pyload

A docker container based on linuxserver/baseimage and running pyLoad
Installation procedure adapted from obi12341/docker-pyload

Usage

$ docker create \
  --name pyLoad \
  -p 8000:8000 \
  -e PUID=<UID> -e PGID=<GID> \
  -e TZ=<YourRegion>/<YourCapital> \
  -v </path/to/your/downloads>:/opt/pyload/Downloads \
  cobraeti/pyload

Parameters

  • -p 8000:8000 - the webUI port mapping
  • -v </path/to/your/downloads>:/opt/pyload/Downloads - path to your downloads folder
  • -v /etc/localtime:/etc/localtime:ro - Share of the host localtime (optionnal)
  • -e PUID=<UID> for UserID - see below for explanation
  • -e PGID=<GID> for GroupID - see below for explanation
  • -e TZ=<YourRegion>/<YourCapital> for timezone information - eg Europe/Paris

User / Group Identifiers

From LinuxServer.io description:

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 our containers 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 we added this feature to let you easily choose when running your containers.

Default configs

WebUI port

The default port for webUI is 8000 and must stay like that. If you need to use another one, only change the port mapping when creating the container (ex: $ docker create --name pyLoad -p <NEW PORT>:8000 ...)

WebUI user

  • Default login: admin
  • Default password: pyload

You can (and should ^^) change the password through the webUI (Top right corner > Administrate > User > change).

If you want to create users, you need to run the following command on the docker host:

$ docker exec -it pyLoad /bin/bash

When you get the container's promp (something like root@263c2ec0c11a:/#), run the following:

# sudo -u abc -g abc /usr/bin/python /opt/pyload/pyLoadCore.py -u

And then follow the CLI prompts to manage users.

Notes:

  • New users seems to be available only after pyLoad restart (Top right corner > Administrate > Restart pyLoad) (no more)
  • Don't forget to leave the user management script with choice 4 (Quit) or users won't be added

Downloads folder

The default folder for downloads is /opt/pyload/Downloadsand must stay like that. If you need to change the destination folder for downloads, only change the volume mapping when creating the container (ex: $ docker create --name pyLoad -v <NEW FOLDER>:/pyload/downloads ...)

Remote control

If you are planning to activate this option, just add a port mapping for the dedicated port with -p 7227:7227 and when pyload is up, just activate the remote control in the dedicated config menu (Top right corner > Config tab > General tab > Menu tab > Remote > Activated > on)

Docker Pull Command
Owner
cobraeti
Source Repository