Add NZBget

This commit is contained in:
David Stephens 2019-06-02 21:15:34 +01:00
parent 5663c4d905
commit 8e089e3e58
7 changed files with 60 additions and 2 deletions

View file

@ -11,6 +11,7 @@ Ansible config and a bunch of Docker containers.
* An awesome dashboard to your home server (Heimdall) * An awesome dashboard to your home server (Heimdall)
* Any number of Samba shares or NFS exports for you to store your stuff * Any number of Samba shares or NFS exports for you to store your stuff
* A BitTorrent client * A BitTorrent client
* A Usenet downloader
* Various media management tools - Sonarr, Sickchill, CouchPotato, Radarr * Various media management tools - Sonarr, Sickchill, CouchPotato, Radarr
* Media streaming via Plex or Emby * Media streaming via Plex or Emby
* Music streaming with Airsonic * Music streaming with Airsonic
@ -47,6 +48,7 @@ Ansible config and a bunch of Docker containers.
* [MyMediaForAlexa](https://www.mymediaalexa.com/) - Lets you stream your music collection to your alexa device * [MyMediaForAlexa](https://www.mymediaalexa.com/) - Lets you stream your music collection to your alexa device
* [Netdata](https://my-netdata.io/) - An extremely comprehensive system monitoring solution * [Netdata](https://my-netdata.io/) - An extremely comprehensive system monitoring solution
* [Nextcloud](https://nextcloud.com/) - A self-hosted Dropbox alternative * [Nextcloud](https://nextcloud.com/) - A self-hosted Dropbox alternative
* [NZBget](https://nzbget.net/) - The most efficient usenet downloader
* [Plex](https://www.plex.tv/) - Plex Media Server * [Plex](https://www.plex.tv/) - Plex Media Server
* [Portainer](https://portainer.io/) - for managing Docker and running custom images * [Portainer](https://portainer.io/) - for managing Docker and running custom images
* [Radarr](https://radarr.video/) - for organising and downloading movies * [Radarr](https://radarr.video/) - for organising and downloading movies

View file

@ -0,0 +1,11 @@
# NZBget
Homepage: [https://nzbget.net/](https://nzbget.net/)
The most efficient usenet downloader. NZBGet is written in C++ and designed with performance in mind to achieve maximum download speed by using very little system resources.
## Usage
Set `nzbget_enabled: true` in your `group_vars/all.yml` file.
The NZBget web interface can be found at http://ansible_nas_host_or_ip:6789, the default username is `nzbget` and password `tegbzn6789`. Change this once you've logged in!

View file

@ -24,6 +24,7 @@ By default, applications can be found on the ports listed below.
| MyMediaForAlexa | 52051 | | | MyMediaForAlexa | 52051 | |
| Netdata | 19999 | | | Netdata | 19999 | |
| Nextcloud | 8080 | | | Nextcloud | 8080 | |
| NZBGet | 6789 | |
| Plex | 32400 | | | Plex | 32400 | |
| Portainer | 9000 | | | Portainer | 9000 | |
| Radarr | 7878 | | | Radarr | 7878 | |

View file

@ -10,11 +10,12 @@
# settings. # settings.
traefik_enabled: false traefik_enabled: false
# BitTorrent # Downloading
# If you plan to use Transmission with OpenVPN, you'll need to copy group_vars/vpn_credentials.yml.dist # If you plan to use Transmission with OpenVPN, you'll need to copy group_vars/vpn_credentials.yml.dist
# to group_vars/vpn_credentials.yml, then update it with your own settings. # to group_vars/vpn_credentials.yml, then update it with your own settings.
transmission_with_openvpn_enabled: false transmission_with_openvpn_enabled: false
transmission_enabled: false transmission_enabled: false
nzbget_enabled: false
# Plex # Plex
plex_enabled: false plex_enabled: false
@ -533,4 +534,13 @@ bitwarden_allow_signups: false
### Firefly ### Firefly
### ###
firefly_available_externally: "false" firefly_available_externally: "false"
firefly_data_directory: "{{ docker_home }}/firefly" firefly_data_directory: "{{ docker_home }}/firefly"
###
### Nzbget
###
nzbget_available_externally: "false"
nzbget_data_directory: "{{ docker_home }}/nzbget"
nzbget_download_directory: "{{ downloads_root }}"
nzbget_user_id: 0
nzbget_group_id: 0

View file

@ -155,3 +155,7 @@
- import_tasks: tasks/bitwarden.yml - import_tasks: tasks/bitwarden.yml
when: (bitwarden_enabled | default(False)) when: (bitwarden_enabled | default(False))
tags: bitwarden tags: bitwarden
- import_tasks: tasks/nzbget.yml
when: (nzbget_enabled | default(False))
tags: nzbget

29
tasks/nzbget.yml Normal file
View file

@ -0,0 +1,29 @@
---
- name: Create NZBget Directories
file:
path: "{{ item }}"
state: directory
with_items:
- "{{ nzbget_data_directory }}"
- name: NZBGet
docker_container:
name: nzbget
image: linuxserver/nzbget
pull: true
volumes:
- "{{ nzbget_download_directory }}:/downloads:rw"
- "{{ nzbget_data_directory }}:/config:rw"
ports:
- "6789:6789"
env:
TZ: "{{ ansible_nas_timezone }}"
PUID: "{{ nzbget_user_id }}"
PGID: "{{ nzbget_group_id }}"
restart_policy: unless-stopped
memory: 1g
labels:
traefik.backend: "nzbget"
traefik.frontend.rule: "Host:nzbget.{{ ansible_nas_domain }}"
traefik.enable: "{{ nzbget_available_externally }}"
traefik.port: "6789"

View file

@ -194,6 +194,7 @@ onDemand = false # create certificate when container is created
"miniflux.{{ ansible_nas_domain }}", "miniflux.{{ ansible_nas_domain }}",
"netdata.{{ ansible_nas_domain }}", "netdata.{{ ansible_nas_domain }}",
"nextcloud.{{ ansible_nas_domain }}", "nextcloud.{{ ansible_nas_domain }}",
"nzbget.{{ ansible_nas_domain }}",
"plex.{{ ansible_nas_domain }}", "plex.{{ ansible_nas_domain }}",
"portainer.{{ ansible_nas_domain }}", "portainer.{{ ansible_nas_domain }}",
"radarr.{{ ansible_nas_domain }}", "radarr.{{ ansible_nas_domain }}",