mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-13 23:47:10 +00:00
Add RSS-Bridge
RSS-Bridge is a PHP project capable of generating RSS and Atom feeds for websites that don't have one. It can be used on webservers or as a stand-alone application in CLI mode. Important: RSS-Bridge is not a feed reader or feed aggregator, but a tool to generate feeds that are consumed by feed readers and feed aggregators.
This commit is contained in:
parent
24d638fddd
commit
170f4a45c3
6 changed files with 62 additions and 0 deletions
|
@ -88,6 +88,7 @@ Ansible config and a bunch of Docker containers.
|
|||
* [pyLoad](https://pyload.net/) - A download manager with a friendly web-interface
|
||||
* [PyTivo](http://pytivo.org) - An HMO and GoBack server for TiVos.
|
||||
* [Radarr](https://radarr.video/) - for organising and downloading movies
|
||||
* [RSS-Bridge](https://rss-bridge.github.io/rss-bridge/) - The RSS feed for websites missing it
|
||||
* [Sickchill](https://sickchill.github.io/) - for managing TV episodes
|
||||
* [Sonarr](https://sonarr.tv/) - for downloading and managing TV episodes
|
||||
* [Syncthing](https://syncthing.net/) - sync directories with another device
|
||||
|
|
14
docs/applications/rssbridge.md
Normal file
14
docs/applications/rssbridge.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
# RSS-Bridge
|
||||
|
||||
Homepage: [https://rss-bridge.github.io/rss-bridge/](https://rss-bridge.github.io/rss-bridge/)
|
||||
|
||||
RSS-Bridge is a PHP project capable of generating RSS and Atom feeds for websites that don't have one. It can be used on webservers or as a stand-alone application in CLI mode.
|
||||
|
||||
Important: RSS-Bridge is not a feed reader or feed aggregator, but a tool to generate feeds that are consumed by feed readers and feed aggregators.
|
||||
|
||||
## Usage
|
||||
|
||||
Set `rssbridge_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
|
||||
|
||||
The RSS-Bridge web interface can be found at http://ansible_nas_host_or_ip:8091.
|
|
@ -71,6 +71,7 @@ By default, applications can be found on the ports listed below.
|
|||
| PyTivo | 9032 | Bridge | HTTP |
|
||||
| PyTivo | 2190 | Bridge | UDP |
|
||||
| Radarr | 7878 | Bridge | HTTP |
|
||||
| RSS-Bridge | 8091 | Bridge | HTTP |
|
||||
| Sickchill | 8081 | Bridge | HTTP |
|
||||
| Sonarr | 8989 | Bridge | HTTP |
|
||||
| Syncthing admin | 8384 | Host | HTTP |
|
||||
|
|
5
nas.yml
5
nas.yml
|
@ -268,6 +268,11 @@
|
|||
- radarr
|
||||
when: (radarr_enabled | default(False))
|
||||
|
||||
- role: rssbridge
|
||||
tags:
|
||||
- rssbridge
|
||||
when: (rssbridge_enabled | default(False))
|
||||
|
||||
- role: sickchill
|
||||
tags:
|
||||
- sickchill
|
||||
|
|
14
roles/rssbridge/defaults/main.yml
Normal file
14
roles/rssbridge/defaults/main.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
rssbridge_enabled: false
|
||||
rssbridge_available_externally: "false"
|
||||
|
||||
# directories
|
||||
rssbridge_data_directory: "{{ docker_home }}/rssbridge"
|
||||
|
||||
|
||||
# network
|
||||
rssbridge_port: "8091"
|
||||
rssbridge_hostname: "rssbridge"
|
||||
|
||||
# specs
|
||||
rssbridge_memory: 1g
|
27
roles/rssbridge/tasks/main.yml
Normal file
27
roles/rssbridge/tasks/main.yml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
- name: Create RSSBridge Directories
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
# mode: 0755
|
||||
with_items:
|
||||
- "{{ rssbridge_data_directory }}/data"
|
||||
|
||||
- name: RSSBridge Docker Container
|
||||
docker_container:
|
||||
name: rssbridge
|
||||
image: rssbridge/rss-bridge
|
||||
pull: true
|
||||
volumes:
|
||||
- "{{ rssbridge_data_directory }}/data:/config:rw"
|
||||
ports:
|
||||
- "{{ rssbridge_port }}:80"
|
||||
restart_policy: unless-stopped
|
||||
memory: "{{ rssbridge_memory }}"
|
||||
labels:
|
||||
traefik.enable: "{{ rssbridge_available_externally }}"
|
||||
traefik.http.routers.rssbridge.rule: "Host(`{{ rssbridge_hostname }}.{{ ansible_nas_domain }}`)"
|
||||
traefik.http.routers.rssbridge.tls.certresolver: "letsencrypt"
|
||||
traefik.http.routers.rssbridge.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||
traefik.http.routers.rssbridge.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||
traefik.http.services.rssbridge.loadbalancer.server.port: "80"
|
Loading…
Reference in a new issue