mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 19:48:47 +00:00
commit
c7ec25c4b8
7 changed files with 66 additions and 0 deletions
|
@ -51,6 +51,7 @@ Ansible config and a bunch of Docker containers.
|
|||
* [NZBget](https://nzbget.net/) - The most efficient usenet downloader
|
||||
* [Plex](https://www.plex.tv/) - Plex Media Server
|
||||
* [Portainer](https://portainer.io/) - for managing Docker and running custom images
|
||||
* [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface
|
||||
* [Radarr](https://radarr.video/) - for organising and downloading movies
|
||||
* [Sickchill](https://sickchill.github.io/) - for managing TV episodes
|
||||
* [Sonarr](https://sonarr.tv/) - for downloading and managing TV episodes
|
||||
|
|
17
docs/applications/pyload.md
Normal file
17
docs/applications/pyload.md
Normal file
|
@ -0,0 +1,17 @@
|
|||
# pyLoad
|
||||
|
||||
Homepage: [https://pyload.net/](https://pyload.net//)
|
||||
|
||||
Free and Open Source download manager written in Python and designed to be extremely lightweight, easily extensible and fully manageable via web
|
||||
.
|
||||
## Usage
|
||||
|
||||
Set `pyload_enabled: true` in your `group_vars/all.yml` file.
|
||||
|
||||
pyLoad's web interface can be found at http://ansible_nas_host_or_ip:8000
|
||||
|
||||
## Specific Configuration
|
||||
|
||||
Default username is `pyload` and default password is `pyload`.
|
||||
|
||||
In order to add or remove users, you will need to access the container from an interactive shell (can easily be done from portainer, if installed) and enter pyLoad's home directory `/opt/pyload` and using the command `python pyLoadCore.py -u` and follow the on-screen prompts. More commands to configure and customize pyLoad can be found on it's website.
|
|
@ -27,6 +27,7 @@ By default, applications can be found on the ports listed below.
|
|||
| NZBGet | 6789 | |
|
||||
| Plex | 32400 | |
|
||||
| Portainer | 9000 | |
|
||||
| pyload | 8000 | |
|
||||
| Radarr | 7878 | |
|
||||
| Sickchill | 8081 | |
|
||||
| Sonarr | 8989 | |
|
||||
|
|
|
@ -17,6 +17,9 @@ transmission_with_openvpn_enabled: false
|
|||
transmission_enabled: false
|
||||
nzbget_enabled: false
|
||||
|
||||
# Downloaders
|
||||
pyload_enabled: false
|
||||
|
||||
# Plex
|
||||
plex_enabled: false
|
||||
tautulli_enabled: false
|
||||
|
@ -290,6 +293,14 @@ transmission_user_id: 0
|
|||
transmission_group_id: 0
|
||||
transmission_local_network: "192.168.1.0/24"
|
||||
|
||||
###
|
||||
### pyLoad
|
||||
###
|
||||
pyload_available_externally: "false"
|
||||
pyload_config_directory: "{{ docker_home }}/pyload"
|
||||
pyload_download_directory: "{{ downloads_root }}"
|
||||
pyload_user_id: 0
|
||||
pyload_group_id: 0
|
||||
|
||||
###
|
||||
### Plex
|
||||
|
|
4
nas.yml
4
nas.yml
|
@ -68,6 +68,10 @@
|
|||
when: (transmission_with_openvpn_enabled | default(False))
|
||||
tags: transmission
|
||||
|
||||
- import_tasks: tasks/pyload.yml
|
||||
when: (pyload_enabled | default(False))
|
||||
tags: pyload
|
||||
|
||||
- import_tasks: tasks/thelounge.yml
|
||||
when: (thelounge_enabled | default(False))
|
||||
tags: thelounge
|
||||
|
|
31
tasks/pyload.yml
Normal file
31
tasks/pyload.yml
Normal file
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
- name: Create pyLoad Directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
# mode: 0755
|
||||
with_items:
|
||||
- "{{ pyload_config_directory }}"
|
||||
- "{{ pyload_download_directory }}"
|
||||
|
||||
- name: pyLoad Docker Container
|
||||
docker_container:
|
||||
name: pyload
|
||||
image: writl/pyload
|
||||
pull: true
|
||||
volumes:
|
||||
- "{{ pyload_config_directory }}:/opt/pyload/pyload-config:rw"
|
||||
- "{{ pyload_download_directory }}:/opt/pyload/Downloads:rw"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
env:
|
||||
TZ: "{{ ansible_nas_timezone }}"
|
||||
UID: "{{ pyload_user_id }}"
|
||||
GID: "{{ pyload_group_id }}"
|
||||
restart_policy: unless-stopped
|
||||
memory: 1g
|
||||
labels:
|
||||
traefik.backend: "pyload"
|
||||
traefik.frontend.rule: "Host:pyload.{{ ansible_nas_domain }}"
|
||||
traefik.enable: "{{ pyload_available_externally }}"
|
||||
traefik.port: "8000"
|
|
@ -197,6 +197,7 @@ onDemand = false # create certificate when container is created
|
|||
"nzbget.{{ ansible_nas_domain }}",
|
||||
"plex.{{ ansible_nas_domain }}",
|
||||
"portainer.{{ ansible_nas_domain }}",
|
||||
"pyload.{{ ansible_nas_domain }}",
|
||||
"radarr.{{ ansible_nas_domain }}",
|
||||
"sickchill.{{ ansible_nas_domain }}",
|
||||
"sonarr.{{ ansible_nas_domain }}",
|
||||
|
|
Loading…
Reference in a new issue