mirror of
https://github.com/davestephens/ansible-nas
synced 2024-12-25 02:53:11 +00:00
Adds Prowlarr app
This commit is contained in:
parent
f08dbd903a
commit
5e196048e7
6 changed files with 69 additions and 0 deletions
|
@ -75,6 +75,7 @@ Ansible config and a bunch of Docker containers.
|
||||||
* [openHAB](https://www.openhab.org/) - A vendor and technology agnostic open source automation software for your home
|
* [openHAB](https://www.openhab.org/) - A vendor and technology agnostic open source automation software for your home
|
||||||
* [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
|
||||||
|
* [Prowlarr](https://github.com/Prowlarr/Prowlarr) - Indexer aggregator for Sonarr, Radarr, Lidarr, etc.
|
||||||
* [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface
|
* [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface
|
||||||
* [PyTivo](http://pytivo.org) - An HMO and GoBack server for TiVos.
|
* [PyTivo](http://pytivo.org) - An HMO and GoBack server for TiVos.
|
||||||
* [Radarr](https://radarr.video/) - for organising and downloading movies
|
* [Radarr](https://radarr.video/) - for organising and downloading movies
|
||||||
|
|
15
docs/applications/prowlarr.md
Normal file
15
docs/applications/prowlarr.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# Prowlarr
|
||||||
|
Homepages: [prowlarr](https://github.com/Prowlarr/Prowlarr)
|
||||||
|
|
||||||
|
**Prowlarr** is a indexer manager/proxy built on the popular arr .net/reactjs base stack to integrate with your various PVR apps. Prowlarr supports both Torrent Trackers and Usenet Indexers. It integrates seamlessly with Sonarr, Radarr, Lidarr, and Readarr offering complete management of your indexers with no per app Indexer setup required (we do it all).
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Set `prowlarr_enabled: true` in your `/inventories/[my inventory]/group_vars/nas.yml` file.
|
||||||
|
|
||||||
|
The Prowlarr web interface can be found at `http://ansible_nas_host_or_ip:9696` by default
|
||||||
|
|
||||||
|
|
||||||
|
## Specific Configuration
|
||||||
|
|
||||||
|
For comprehensive configuration instructions see the [Prowlarr wiki](https://wiki.servarr.com/prowlarr) or [Prowlarr Github page](https://github.com/Prowlarr/Prowlarr)
|
|
@ -58,6 +58,7 @@ By default, applications can be found on the ports listed below.
|
||||||
| Organizr | 10444 | Bridge | HTTPS |
|
| Organizr | 10444 | Bridge | HTTPS |
|
||||||
| Plex | 32400 | Bridge | HTTP |
|
| Plex | 32400 | Bridge | HTTP |
|
||||||
| Portainer | 9000 | Bridge | HTTP |
|
| Portainer | 9000 | Bridge | HTTP |
|
||||||
|
| Prowlarr | 9696 | Bridge | HTTP |
|
||||||
| pyload | 8000 | Bridge | HTTP |
|
| pyload | 8000 | Bridge | HTTP |
|
||||||
| PyTivo | 9032 | Bridge | HTTP |
|
| PyTivo | 9032 | Bridge | HTTP |
|
||||||
| PyTivo | 2190 | Bridge | UDP |
|
| PyTivo | 2190 | Bridge | UDP |
|
||||||
|
|
5
nas.yml
5
nas.yml
|
@ -198,6 +198,11 @@
|
||||||
- portainer
|
- portainer
|
||||||
when: (portainer_enabled | default(False))
|
when: (portainer_enabled | default(False))
|
||||||
|
|
||||||
|
- role: prowlarr
|
||||||
|
tags:
|
||||||
|
- prowlarr
|
||||||
|
when: (prowlarr_enabled | default(False))
|
||||||
|
|
||||||
- role: pyload
|
- role: pyload
|
||||||
tags:
|
tags:
|
||||||
- pyload
|
- pyload
|
||||||
|
|
17
roles/prowlarr/defaults/main.yml
Normal file
17
roles/prowlarr/defaults/main.yml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
---
|
||||||
|
prowlarr_enabled: false
|
||||||
|
prowlarr_available_externally: "false"
|
||||||
|
|
||||||
|
# directories
|
||||||
|
prowlarr_data_directory: "{{ docker_home }}/prowlarr/config"
|
||||||
|
|
||||||
|
# uid / gid
|
||||||
|
prowlarr_user_id: "0"
|
||||||
|
prowlarr_group_id: "0"
|
||||||
|
|
||||||
|
# network
|
||||||
|
prowlarr_port: "9696"
|
||||||
|
prowlarr_hostname: "prowlarr"
|
||||||
|
|
||||||
|
# specs
|
||||||
|
prowlarr_memory: 1g
|
30
roles/prowlarr/tasks/main.yml
Normal file
30
roles/prowlarr/tasks/main.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
---
|
||||||
|
- name: Create Prowlarr Directories
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ prowlarr_data_directory }}"
|
||||||
|
|
||||||
|
- name: prowlarr
|
||||||
|
docker_container:
|
||||||
|
name: prowlarr
|
||||||
|
image: ghcr.io/linuxserver/prowlarr:develop
|
||||||
|
pull: true
|
||||||
|
volumes:
|
||||||
|
- "{{ prowlarr_data_directory }}:/config:rw"
|
||||||
|
ports:
|
||||||
|
- "{{ prowlarr_port }}:9696"
|
||||||
|
env:
|
||||||
|
TZ: "{{ ansible_nas_timezone }}"
|
||||||
|
PUID: "{{ prowlarr_user_id }}"
|
||||||
|
PGID: "{{ prowlarr_group_id }}"
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
memory: "{{ prowlarr_memory }}"
|
||||||
|
labels:
|
||||||
|
traefik.enable: "{{ prowlarr_available_externally }}"
|
||||||
|
traefik.http.routers.prowlarr.rule: "Host(`{{ prowlarr_hostname }}.{{ ansible_nas_domain }}`)"
|
||||||
|
traefik.http.routers.prowlarr.tls.certresolver: "letsencrypt"
|
||||||
|
traefik.http.routers.prowlarr.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||||
|
traefik.http.routers.prowlarr.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||||
|
traefik.http.services.prowlarr.loadbalancer.server.port: "9696"
|
Loading…
Reference in a new issue