mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-26 10:15:14 +00:00
Fix Mylar merge conflicts
This commit is contained in:
commit
3886d012f8
7 changed files with 64 additions and 0 deletions
|
@ -60,6 +60,7 @@ Ansible config and a bunch of Docker containers.
|
||||||
* [MiniDlna](https://sourceforge.net/projects/minidlna/) - simple media server which is fully compliant with DLNA/UPnP-AV clients
|
* [MiniDlna](https://sourceforge.net/projects/minidlna/) - simple media server which is fully compliant with DLNA/UPnP-AV clients
|
||||||
* [Miniflux](https://miniflux.app/) - An RSS news reader
|
* [Miniflux](https://miniflux.app/) - An RSS news reader
|
||||||
* [Mosquitto](https://mosquitto.org) - An open source MQTT broker
|
* [Mosquitto](https://mosquitto.org) - An open source MQTT broker
|
||||||
|
* [Mylar](https://github.com/evilhero/mylar) - An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents
|
||||||
* [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
|
||||||
|
|
16
docs/applications/mylar.md
Normal file
16
docs/applications/mylar.md
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
|
||||||
|
# Mylar
|
||||||
|
|
||||||
|
Homepage: [https://github.com/evilhero/mylar](https://github.com/evilhero/mylar)
|
||||||
|
|
||||||
|
Docker Container: [https://hub.docker.com/r/linuxserver/mylar](https://hub.docker.com/r/linuxserver/mylar)
|
||||||
|
|
||||||
|
An automated Comic Book downloader (cbr/cbz) for use with SABnzbd, NZBGet and torrents
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Set `mylar_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
|
||||||
|
|
||||||
|
If you want to access Mylar externally, don't forget to set `mylar_available_externally: "true"` in your `inventories/<your_inventory>/nas.yml` file.
|
||||||
|
|
||||||
|
The Mylar web interface can be found at http://ansible_nas_host_or_ip:5858.
|
|
@ -37,6 +37,7 @@ By default, applications can be found on the ports listed below.
|
||||||
| Miniflux | 8070 | |
|
| Miniflux | 8070 | |
|
||||||
| Mosquitto | 1883 | MQTT |
|
| Mosquitto | 1883 | MQTT |
|
||||||
| Mosquitto | 9001 | Websocket |
|
| Mosquitto | 9001 | Websocket |
|
||||||
|
| Mylar | 8585 | HTTP |
|
||||||
| MyMediaForAlexa | 52051 | |
|
| MyMediaForAlexa | 52051 | |
|
||||||
| Netdata | 19999 | |
|
| Netdata | 19999 | |
|
||||||
| Nextcloud | 8080 | |
|
| Nextcloud | 8080 | |
|
||||||
|
|
|
@ -491,6 +491,17 @@ duplicati_available_externally: "false"
|
||||||
duplicati_data_directory: "{{ docker_home }}/duplicati/config"
|
duplicati_data_directory: "{{ docker_home }}/duplicati/config"
|
||||||
duplicati_port: "8200"
|
duplicati_port: "8200"
|
||||||
|
|
||||||
|
###
|
||||||
|
### Mylar
|
||||||
|
###
|
||||||
|
mylar_available_externally: "false"
|
||||||
|
mylar_data_directory: "{{ docker_home }}/mylar"
|
||||||
|
mylar_comics_directory: "{{ comics_root }}"
|
||||||
|
mylar_downloads_directory: "{{ downloads_root }}"
|
||||||
|
mylar_port_http: "8585"
|
||||||
|
mylar_user_id: "0"
|
||||||
|
mylar_group_id: "0"
|
||||||
|
|
||||||
###
|
###
|
||||||
### Sonarr
|
### Sonarr
|
||||||
###
|
###
|
||||||
|
|
4
nas.yml
4
nas.yml
|
@ -80,6 +80,10 @@
|
||||||
when: (thelounge_enabled | default(False))
|
when: (thelounge_enabled | default(False))
|
||||||
tags: thelounge
|
tags: thelounge
|
||||||
|
|
||||||
|
- import_tasks: tasks/mylar.yml
|
||||||
|
when: (mylar_enabled | default(False))
|
||||||
|
tags: mylar
|
||||||
|
|
||||||
- import_tasks: tasks/sonarr.yml
|
- import_tasks: tasks/sonarr.yml
|
||||||
when: (sonarr_enabled | default(False))
|
when: (sonarr_enabled | default(False))
|
||||||
tags: sonarr
|
tags: sonarr
|
||||||
|
|
30
tasks/mylar.yml
Normal file
30
tasks/mylar.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
---
|
||||||
|
- name: Create Mylar Directory
|
||||||
|
file:
|
||||||
|
path: "{{ item }}"
|
||||||
|
state: directory
|
||||||
|
with_items:
|
||||||
|
- "{{ mylar_data_directory }}/config"
|
||||||
|
|
||||||
|
- name: Mylar
|
||||||
|
docker_container:
|
||||||
|
name: mylar
|
||||||
|
image: linuxserver/mylar
|
||||||
|
pull: true
|
||||||
|
volumes:
|
||||||
|
- "{{ mylar_comics_directory }}:/comics:rw"
|
||||||
|
- "{{ mylar_downloads_directory }}:/downloads:rw"
|
||||||
|
- "{{ mylar_data_directory }}/config:/config:rw"
|
||||||
|
ports:
|
||||||
|
- "{{ mylar_port_http }}:8090"
|
||||||
|
env:
|
||||||
|
TZ: "{{ ansible_nas_timezone }}"
|
||||||
|
PUID: "{{ mylar_user_id }}"
|
||||||
|
PGID: "{{ mylar_group_id }}"
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
memory: 1g
|
||||||
|
labels:
|
||||||
|
traefik.backend: "mylar"
|
||||||
|
traefik.frontend.rule: "Host:mylar.{{ ansible_nas_domain }}"
|
||||||
|
traefik.enable: "{{ mylar_available_externally }}"
|
||||||
|
traefik.port: "{{ mylar_port_http }}"
|
|
@ -200,6 +200,7 @@ onDemand = false # create certificate when container is created
|
||||||
"joomla.{{ ansible_nas_domain }}",
|
"joomla.{{ ansible_nas_domain }}",
|
||||||
"krusader.{{ ansible_nas_domain }}",
|
"krusader.{{ ansible_nas_domain }}",
|
||||||
"lidarr.{{ ansible_nas_domain }}",
|
"lidarr.{{ ansible_nas_domain }}",
|
||||||
|
"mylar.{{ ansible_nas_domain }}",
|
||||||
"miniflux.{{ ansible_nas_domain }}",
|
"miniflux.{{ ansible_nas_domain }}",
|
||||||
"netdata.{{ ansible_nas_domain }}",
|
"netdata.{{ ansible_nas_domain }}",
|
||||||
"nextcloud.{{ ansible_nas_domain }}",
|
"nextcloud.{{ ansible_nas_domain }}",
|
||||||
|
|
Loading…
Reference in a new issue