mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 03:38:41 +00:00
Homepage enrichment of services
This commit is contained in:
parent
8b8b118968
commit
5311ad72d7
7 changed files with 44 additions and 3 deletions
|
@ -29,6 +29,11 @@
|
|||
traefik.http.routers.jackett.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||
traefik.http.routers.jackett.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||
traefik.http.services.jackett.loadbalancer.server.port: "9117"
|
||||
homepage.group: Download Tools
|
||||
homepage.name: Jackett
|
||||
homepage.icon: jackett
|
||||
homepage.href: http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ jackett_port }}
|
||||
homepage.description: API Support for your favorite torrent trackers
|
||||
when: jackett_enabled is true
|
||||
|
||||
- name: Stop Jackett
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
- "{{ overseerr_data_directory }}"
|
||||
- "{{ overseerr_data_directory }}/config"
|
||||
|
||||
- name: Overseerr
|
||||
- name: Overseerr Docker Container
|
||||
community.docker.docker_container:
|
||||
name: "{{ overseerr_container_name }}"
|
||||
image: "{{ overseerr_image_name }}:{{ overseerr_image_version }}"
|
||||
|
@ -31,6 +31,11 @@
|
|||
traefik.http.routers.overseerr.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||
traefik.http.routers.overseerr.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||
traefik.http.services.overseerr.loadbalancer.server.port: "5055"
|
||||
homepage.group: Media
|
||||
homepage.name: Overseerr
|
||||
homepage.icon: overseerr
|
||||
homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ overseerr_webui_port }}"
|
||||
homepage.description: Media requests
|
||||
when: overseerr_enabled is true
|
||||
|
||||
- name: Stop Overseerr
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
# mode: 0755
|
||||
with_items:
|
||||
- "{{ plex_config_directory }}"
|
||||
- "{{ plex_logs }}"
|
||||
|
@ -40,6 +39,11 @@
|
|||
traefik.http.routers.plex.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||
traefik.http.routers.plex.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||
traefik.http.services.plex.loadbalancer.server.port: "32400"
|
||||
homepage.group: Media
|
||||
homepage.name: Plex
|
||||
homepage.icon: plex
|
||||
homepage.href: http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:32400
|
||||
homepage.description: Media server
|
||||
when: plex_enabled is true
|
||||
|
||||
- name: Stop Plex
|
||||
|
|
|
@ -30,6 +30,12 @@
|
|||
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"
|
||||
homepage.group: Download Tools
|
||||
homepage.name: Prowlarr
|
||||
homepage.icon: prowlarr
|
||||
homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ prowlarr_port }}"
|
||||
homepage.description: Indexer Proxy
|
||||
|
||||
when: prowlarr_enabled is true
|
||||
|
||||
- name: Stop Prowlarr
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
with_items:
|
||||
- "{{ radarr_data_directory }}"
|
||||
|
||||
- name: Radarr
|
||||
- name: Radarr Docker Container
|
||||
community.docker.docker_container:
|
||||
name: "{{ radarr_container_name }}"
|
||||
image: "{{ radarr_image_name }}:{{ radarr_image_version }}"
|
||||
|
@ -32,6 +32,11 @@
|
|||
traefik.http.routers.radarr.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||
traefik.http.routers.radarr.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||
traefik.http.services.radarr.loadbalancer.server.port: "7878"
|
||||
homepage.group: "Download Tools"
|
||||
homepage.name: "Radarr"
|
||||
homepage.icon: "radarr"
|
||||
homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ radarr_port }}"
|
||||
|
||||
when: radarr_enabled is true
|
||||
|
||||
- name: Stop Radarr
|
||||
|
|
|
@ -19,6 +19,14 @@
|
|||
- "{{ threadfin_data_directory }}:/home/threadfin/conf"
|
||||
restart_policy: unless-stopped
|
||||
memory: "{{ threadfin_memory }}"
|
||||
labels:
|
||||
homepage.group: Media
|
||||
homepage.name: Threadfin
|
||||
homepage.icon: xteve
|
||||
homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ threadfin_port }}"
|
||||
homepage.description: IPTV bridge
|
||||
homepage.widget.type: xteve
|
||||
homepage.widget.url: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ threadfin_port }}"
|
||||
when: threadfin_enabled is true
|
||||
|
||||
- name: Stop Threadfin
|
||||
|
|
|
@ -29,6 +29,14 @@
|
|||
restart_policy: unless-stopped
|
||||
memory: "{{ traefik_memory }}"
|
||||
recreate: "{{ template_config is changed }}"
|
||||
labels:
|
||||
homepage.group: Networking
|
||||
homepage.name: Traefik
|
||||
homepage.icon: traefik
|
||||
homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ traefik_port_ui }}"
|
||||
homepage.description: Reverse Proxy
|
||||
homepage.widget.type: traefik
|
||||
homepage.widget.url: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ traefik_port_ui }}"
|
||||
when: traefik_enabled is true
|
||||
|
||||
- name: Stop Traefik
|
||||
|
|
Loading…
Reference in a new issue