How to Install DashMachine (Dashboard) on Docker and OMV5

dbtechdiy, OpenMediaVault, Tutorials, VideoLeave a Comment

In this blog/video we’ll look at How to Install DashMachine on Docker and OMV5.

DashMachine is a web application bookmark dashboard, with “fun features”.

The process of setting this up is easy and you can find all the code below with both an SSH script as well as a Docker compose file that you can use in Portainer.

DashMachine Docker Script

To install via a commandline interface, open Putty or your favorite SSH application and login as root.

Next, paste this in:

docker create \
  --name=dashmachine \
  -p 5000:5000 \
  -v /srv/dev-disk-by-label-Files/Config/DashMachine:/dashmachine/dashmachine/user_data \
  --restart unless-stopped \
  rmountjoy/dashmachine:latest

Be sure to change the volume to be a configuration folder on your server.

Also, you might need to manually start the container if it fails to start on its own.

The original GitHub page is here: https://github.com/rmountjoy92/DashMachine

DashMachine Portainer Script

To install via Portainer, you’ll want to login to your Portainer dashboard and open the “Stacks” link.

Create a new Stack and paste this in:

---
version: "2"
services:
  dashmachine:
    image: rmountjoy/dashmachine:latest
    container_name: dashmachine
    volumes:
      - /srv/dev-disk-by-label-Files/Config/DashMachine:/dashmachine/dashmachine/user_data
    ports:
      - 5000:5000
    restart: unless-stopped

Be sure to change the volume to be a configuration folder on your server.

Also, you might need to manually start the container if it fails to start on its own.

Customizing the Dashboard

You’ll need to login with the following credentials:

URL: http://your-server-ip:5000
Username: admin
Password: admin

Next, hover over the left sidebar and click on the Settings gear.

Your Config.ini file will look like this:

[Settings]
theme = light
accent = orange
background = None
roles = admin,user,public_user
home_access_groups = admin_only
settings_access_groups = admin_only
custom_app_title = DashMachine

The first things I changed were the theme and accent to “dark” and “blue” respectively:

[Settings]
theme = dark
accent = blue
background = None
roles = admin,user,public_user
home_access_groups = admin_only
settings_access_groups = admin_only
custom_app_title = DashMachine

Because I’ve got several applications/containers on my server, I wanted to make them all accessible, so here’s an example of a couple of the app link configurations on my DashMachine Config.ini:

[Emby]
prefix = http://
url = 192.168.1.19:8096/web
icon = static/images/apps/emby.png
sidebar_icon = static/images/apps/emby.png
description = Emby Media Server
open_in = new_tab

[OMV5]
prefix = http://
url = 192.168.1.19:81
icon = static/images/apps/openmediavault.png
sidebar_icon = static/images/apps/openmediavault.png
description = OpenMediaVault 5
open_in = new_tab

[PiHole]
prefix = http://
url = 192.168.1.225/admin
icon = static/images/apps/pihole.png
sidebar_icon = static/images/apps/pihole.png
description = DNS Ad Blocker
open_in = new_tab

There are several icons pre-installed in the application, so let’s take a look at that here:

DashMachine Icons

You can add more icons to the folder by using something like Filezilla and navigating to the container and copying .png files over.

That’s it! Now you have a DashMachine docker container installed and configured on your server!

Here are some additional tutorials about OpenMediaVault 5 and Docker.

/=========================================/

Like what I do? Want to be generous and help support my channel? Here are some ways to support:

Patreon: https://dbte.ch/patreon
Ko-fi: https://dbte.ch/kofi