https://github.com/Lissy93/dashyWhat is Dashy?
Dashy helps you organize your self-hosted services by making them accessible from a single place
Support for multiple pages
Real-time status monitoring for each of your apps/links
Use widgets to display info and dynamic content from self-hosted services
Instant search by name, domain, or tags + customizable hotkeys & keyboard shortcuts
Many built-in color themes, with UI color editor and support for custom CSS
Many icon options - Font-Awesome, homelab icons, auto-fetching Favicon, images, emojis, etc.
Optional authentication with multi-user access, configurable privileges, and SSO support
Multi-language support, with 10+ human-translated languages, and more on the way
β Optional, encrypted, free off-site cloud backup and restore feature available
A workspace view, for easily switching between multiple apps simultaneously
A minimal view, for use as a fast-loading browser Startpage
Choose app launch methods: new tab, same tab, clipboard, pop-up modal, or open in workspace view
Customizable layout, sizes, text, component visibility, sort order, behavior, etc.
Options for a full-screen background image, custom nav-bar links, HTML footer, title, etc.
Easy to setup with Docker, or on bare metal, or with 1-Click cloud deployment
Easy single-file YAML-based configuration, and option to configure app through the UI
Under active development with improvements and new features added regularly
Small bundle size, fully responsive UI, and PWA for basic offline access
100% free and open-source
Strong focus on privacy
And loads more...
A screenshot showcase of the types of dashboards you can setup
https://github.com/Lissy93/dashy/blob/m ... howcase.md
So a basic use case for this app is you have docker apps setup, managed switch, router etc, so many links and ports you can't keep track of. So using dashy you can pretty much make a pretty bookmark where you can 1 click to open new tab to those pages on your browser. It can also do other simple stuff like check for connectivity for the device. It can do more but the ones i mentioned are just the very basics.
For this guide i will be using portainer to setup. But if you want to use container station that works fine too. We will be using docker compose (in cs this is called create application)
This guide came from this one
https://www.addictedtotech.net/install- ... pisode-30/
but i used this on a QNAP QTS running portainer to setup the docker using docker compose.
step1:
Preparation
we need to setup a persistent storage so whenever you update the app (recreate pull latest image), your dashy config will persist and not get wiped.
So you need to create a location and the config.yml file
As example, i put mine here
Code: Select all
/share/Container/lissy93-dashy
create the config.yml in the Container\lissy93-dashy folder location using the code below
Code: Select all
---
# Page meta info, like heading, footer text and nav links
pageInfo:
title: Dashy
description: Welcome to your new dashboard!
navLinks:
- title: GitHub
path: https://github.com/Lissy93/dashy
- title: Documentation
path: https://dashy.to/docs
# Optional app settings and configuration
appConfig:
theme: colorful
# Main content - An array of sections, each containing an array of items
sections:
- name: Getting Started
icon: fas fa-rocket
items:
- title: Dashy Live
description: Development a project management links for Dashy
icon: https://i.ibb.co/qWWpD0v/astro-dab-128.png
url: https://live.dashy.to/
target: newtab
- title: GitHub
description: Source Code, Issues and Pull Requests
url: https://github.com/lissy93/dashy
icon: favicon
- title: Docs
description: Configuring & Usage Documentation
provider: Dashy.to
icon: far fa-book
url: https://dashy.to/docs
- title: Showcase
description: See how others are using Dashy
url: https://github.com/Lissy93/dashy/blob/master/docs/showcase.md
icon: far fa-grin-hearts
- title: Config Guide
description: See full list of configuration options
url: https://github.com/Lissy93/dashy/blob/master/docs/configuring.md
icon: fas fa-wrench
- title: Support
description: Get help with Dashy, raise a bug, or get in contact
url: https://github.com/Lissy93/dashy/blob/master/.github/SUPPORT.md
icon: far fa-hands-helping
note: If you are doing this from notepad++ using a windows 11 client, MAKE SURE in notepad++ > edit >> EOL Conversion >> *SELECT Unix LF. Then copy/paste the code to notepad++ and save it. Because i did not do this before, the docker compose did not work. So if yours didn't work, this could be why. But if you are setting this up using the addictedtotech method, that will work too. this note is only for the windows users trying to create this file and may not notice this issue as to why their docker compose errored out
step2:
now go to portainer (if your using container station go there, then click create application).
Go to stacks, add stacks, then copy/paste this code
Code: Select all
---
version: "3.8"
services:
dashy:
# To build from source, replace 'image: lissy93/dashy' with 'build: .'
# build: .
image: lissy93/dashy:latest
container_name: Dashy
# Pass in your config file below, by specifying the path on your host machine
volumes:
# - /root/my-config.yml:/app/public/conf.yml
- /share/Container/lissy93-dashy/conf.yml:/app/public/conf.yml
- /share/Container/lissy93-dashy/icons/dashboard-icons/icons:/app/public/item-icons/icons
ports:
- 4000:80
# Set any environmental variables
environment:
- NODE_ENV=production
# Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
- UID=1000
- GID=1000
# Specify restart policy
restart: unless-stopped
# Configure healthchecks
healthcheck:
test: ['CMD', 'node', '/app/services/healthcheck']
interval: 1m30s
timeout: 10s
retries: 3
start_period: 40s
https://github.com/Lissy93/dashy/blob/m ... er-compose
we replace this part
Code: Select all
/PATHTOAPPDATA/DASHY
Code: Select all
/share/Container/lissy93-dashy
To access your dashy app, go to
Code: Select all
http://your qnap nas lan ip:4000
i recommend you test that persistent storage works.
make some changes in dashy, then click save to disk (wait for that to complete and say successful)
Next, recreate the container. start it up (if it didn't auto start up after recreating), then access dashy again. Does the dashy changes remain the same? if it does, congratulations, you have a working persistent storage setup correctly for your dashy app.
note: if you are worried that your persistent storage may not work, you could use the dashy cloud backup. So if for some reason dashy doesn't load back your modified settings, you can then simply restore using your cloud backup. But if you setup the persistent storage as instructed, then you won't have to rely on that. But just a reminder you have a 2nd alternative in case of failure to recover.