Add homepage integration for Deluge, Jellyfin and Nextcloud

This commit is contained in:
Gabriel 2024-04-26 11:54:33 +03:00
parent b8c6719c07
commit cc905135c6
3 changed files with 23 additions and 0 deletions

View file

@ -32,6 +32,13 @@
traefik.http.routers.deluge.tls.domains[0].main: "{{ ansible_nas_domain }}"
traefik.http.routers.deluge.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
traefik.http.services.deluge.loadbalancer.server.port: "8112"
homepage.group: Download Tools
homepage.name: Deluge
homepage.icon: deluge.png
homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ deluge_port }}"
homepage.description: BitTorrent client
homepage.widget.type: deluge
homepage.widget.url: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ deluge_port }}"
when: deluge_enabled is true
- name: Stop Deluge

View file

@ -36,6 +36,15 @@
traefik.http.routers.jellyfin.tls.domains[0].main: "{{ ansible_nas_domain }}"
traefik.http.routers.jellyfin.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
traefik.http.services.jellyfin.loadbalancer.server.port: "8096"
homepage.group: Media
homepage.name: Jellyfin
homepage.icon: jellyfin.png
homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ jellyfin_port_http }}"
homepage.description: Media server
homepage.widget.type: jellyfin
homepage.widget.url: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ jellyfin_port_http }}"
homepage.widget.enableBlocks: "true"
homepage.widget.enableNowPlaying: "true"
when: jellyfin_enabled is true
- name: Stop jellyfin

View file

@ -58,6 +58,13 @@
traefik.http.routers.nextcloud.tls.domains[0].main: "{{ ansible_nas_domain }}"
traefik.http.routers.nextcloud.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
traefik.http.services.nextcloud.loadbalancer.server.port: "80"
homepage.group: Media
homepage.name: Nextcloud
homepage.icon: nextcloud.png
homepage.href: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ nextcloud_port }}"
homepage.description: Open source dropbox alternative
homepage.widget.type: nextcloud
homepage.widget.url: "http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:{{ nextcloud_port }}"
when: nextcloud_enabled is true
- name: Stop Nextcloud