mirror of
https://github.com/davestephens/ansible-nas
synced 2024-11-15 08:27:19 +00:00
Merge branch 'add-dashy' of https://github.com/Dylancyclone/ansible-nas into Dylancyclone-add-dashy
* 'add-dashy' of https://github.com/Dylancyclone/ansible-nas: Add Dashy
This commit is contained in:
commit
c6a3a9bffe
6 changed files with 48 additions and 0 deletions
|
@ -43,6 +43,7 @@ Ansible config and a bunch of Docker containers.
|
|||
* [Cloudflare DDNS](https://hub.docker.com/r/joshuaavalon/cloudflare-ddns/) - automatically update Cloudflare with your IP address
|
||||
* [CouchPotato](https://couchpota.to/) - for downloading and managing movies
|
||||
* [Deluge](https://dev.deluge-torrent.org/) - A lightweight, Free Software, cross-platform BitTorrent client.
|
||||
* [Dashy](https://dashy.to/) - A self-hosted startpage for your server. Easy to use visual editor, status checking, widgets, themes and tons more!
|
||||
* [DokuWiki](https://www.dokuwiki.org/) - A simple to use and highly versatile Open Source wiki software that doesn't require a database.
|
||||
* [Duplicacy](https://duplicacy.com/) - A web UI for the Duplicacy cloud backup program, which provides lock-free deduplication backups to multiple providers
|
||||
* [Duplicati](https://www.duplicati.com/) - for backing up your stuff
|
||||
|
|
14
docs/applications/dashy.md
Normal file
14
docs/applications/dashy.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
# Dashy
|
||||
|
||||
Homepage: [https://dashy.to/](https://dashy.to/)
|
||||
|
||||
Dashy is an open source, highly customizable, easy to use, privacy-respecting dashboard app.
|
||||
It's packed full of useful features, to help you build your perfect dashboard. Including status checks, keyboard shortcuts, dynamic widgets, auto-fetched favicon icons and font-awesome support, built-in authentication, tons of themes, an interactive config editor, many display layouts plus loads more.
|
||||
All the code is free and open source, and everything is thoroughly documented, you can get support with any questions on GitHub.
|
||||
|
||||
## Usage
|
||||
|
||||
Set `dashy_enabled: true` in your `inventories/<your_inventory>/nas.yml` file.
|
||||
|
||||
The Dashy web interface can be found at http://ansible_nas_host_or_ip:8082.
|
|
@ -12,6 +12,7 @@ By default, applications can be found on the ports listed below.
|
|||
| Calibre-web | 8084 | Bridge | HTTP |
|
||||
| Cloud Commander | 7373 | Bridge | HTTP |
|
||||
| Couchpotato | 5050 | Bridge | HTTP |
|
||||
| Dashy | 8082 | Bridge | HTTP |
|
||||
| DokuWiki | 8085 | Bridge | HTTP |
|
||||
| Duplicacy | 3875 | Bridge | HTTP |
|
||||
| Duplicati | 8200 | Bridge | HTTP |
|
||||
|
|
5
nas.yml
5
nas.yml
|
@ -78,6 +78,11 @@
|
|||
- couchpotato
|
||||
when: (couchpotato_enabled | default(False))
|
||||
|
||||
- role: dashy
|
||||
tags:
|
||||
- dashy
|
||||
when: (dashy_enabled | default(False))
|
||||
|
||||
- role: deluge
|
||||
tags:
|
||||
- deluge
|
||||
|
|
10
roles/dashy/defaults/main.yml
Normal file
10
roles/dashy/defaults/main.yml
Normal file
|
@ -0,0 +1,10 @@
|
|||
---
|
||||
dashy_enabled: false
|
||||
dashy_available_externally: "false"
|
||||
|
||||
# network
|
||||
dashy_port: "8082"
|
||||
dashy_hostname: "dashy"
|
||||
|
||||
# specs
|
||||
dashy_memory: 1g
|
17
roles/dashy/tasks/main.yml
Normal file
17
roles/dashy/tasks/main.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
- name: Dashy Docker Container
|
||||
docker_container:
|
||||
name: dashy
|
||||
image: lissy93/dashy:latest
|
||||
pull: true
|
||||
ports:
|
||||
- "{{ dashy_port }}:80"
|
||||
restart_policy: unless-stopped
|
||||
memory: "{{ dashy_memory }}"
|
||||
labels:
|
||||
traefik.enable: "{{ dashy_available_externally }}"
|
||||
traefik.http.routers.dashy.rule: "Host(`{{ dashy_hostname }}.{{ ansible_nas_domain }}`)"
|
||||
traefik.http.routers.dashy.tls.certresolver: "letsencrypt"
|
||||
traefik.http.routers.dashy.tls.domains[0].main: "{{ ansible_nas_domain }}"
|
||||
traefik.http.routers.dashy.tls.domains[0].sans: "*.{{ ansible_nas_domain }}"
|
||||
traefik.http.services.dashy.loadbalancer.server.port: "80"
|
Loading…
Reference in a new issue