Skip to content

Commit

Permalink
Merge pull request #704 from gabrielgradinaru/more-homepage-integrations
Browse files Browse the repository at this point in the history
Add homepage integration for Deluge, Jellyfin and Nextcloud
  • Loading branch information
davestephens committed Apr 30, 2024
2 parents b8c6719 + cc90513 commit a4773cf
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
7 changes: 7 additions & 0 deletions roles/deluge/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions roles/jellyfin/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions roles/nextcloud/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a4773cf

Please sign in to comment.