Sign inSign up

comanderanch/dashy-multi

By comanderanch

Updated over 1 year ago

multi instance dashboard

Image
Web servers
0

354

comanderanch/dashy-multi repository overview

THERE MAY BE ISUES WITH THESE NOT SURE HOW TO FIX EACH TIME I RUN MORE THAN ONE DASHY ON A SINGLE SERVER EVEN HAVING SEPERATE FOLDERS EACH INSTANCE IS USING THE SAME CONF.YML AS THE REST AND GIVING THE SAME FOR ALL WHEN JUST EDITTING ONE!

geDashy Multi-Instance Docker Setup

This Docker image runs multiple instances of Dashy, a self-hosted dashboard application, on different ports. Each instance has its own configuration file and can be accessed separately.

Features

  • Runs 6 instances of Dashy on ports 4001-4006
  • Custom configurations are mapped from a volume
  • Easily deployable via Docker Compose
  • Based on ghcr.io/lissy93/dashy:latest

Requirements

  • Docker and Docker Compose installed on your system
  • Ports 4001-4006 available for use

Installation

Pull the image from Docker Hub:

docker pull comanderanch/dashy-multi:v1

Running the Multi-Instance Container

Run all instances using Docker Compose:

docker compose up -d

This will create 6 instances of Dashy, each mapped to a different port.

Accessing Dashy Instances

After running the container, access each instance in your browser using:

  • Dashy Instance 1http://your-server-ip:4001
  • Dashy Instance 2http://your-server-ip:4002
  • Dashy Instance 3http://your-server-ip:4003
  • Dashy Instance 4http://your-server-ip:4004
  • Dashy Instance 5http://your-server-ip:4005
  • Dashy Instance 6http://your-server-ip:4006

Customizing Configurations

Configuration files for each instance are stored in ~/dashy-multi/conf/. You can modify them to customize the dashboards.

Example:

nano ~/dashy-multi/conf/dashy1.yml

After making changes, restart the container:

docker compose restart

Stopping and Removing Containers

To stop and remove all instances:

docker compose down

Pushing Updates to Docker Hub

If you modify the image and want to push updates:

docker commit dashy1 comanderanch/dashy-multi:v1

Then push it:

docker push comanderanch/dashy-multi:v1

Troubleshooting

If Dashy does not start properly:

  1. Check logs:
    docker logs dashy1
    
  2. Ensure ports 4001-4006 are available:
    sudo netstat -tulnp | grep 400
    
  3. Verify all instances are running:
    docker ps | grep dashy
    

If issues persist, remove all containers and restart:

docker compose down && docker compose up -d

License

This project is licensed under the MIT License.

This image was created using gpt4o and was inspierd by the page setting. in the top panel I was having issues trying to run services and having different looking dashboards so figuring out that pages can be set with a simple ip and port number and running more than one dashy. so making 6 in one image gives me more customization and less hassel. all funtions are the same and cusomizable now i have 6 dashboards and one entry point that looks like one big multi page services panel
created by Gpt4o and [email protected]   https://hack-shak.com

-v3

README.md - Dashy Multi-Instance Docker Image Dashy Multi-Instance (comanderanch/dashy-multi) A pre-configured multi-instance Dashy setup that runs six separate Dashy dashboards out of the box, with no additional setup required.

Features ✅ Pre-configured – Six Dashy instances with unique configs ✅ Runs out of the box – No manual configuration needed ✅ Multi-instance support – Ports 4001-4006 exposed ✅ Built-in startup script – Automatically starts all six instances ✅ Persistent Configuration – Configuration files are included in the image

Usage Pull the Image bash Copy Edit docker pull comanderanch/dashy-multi:v3 Run the Container bash Copy Edit docker run -d --name dashy-multi -p 4001-4006:4001-4006 comanderanch/dashy-multi:v3 Access Dashy Instances Once running, you can access each Dashy instance in your browser:

Dashy 1: http://localhost:4001 Dashy 2: http://localhost:4002 Dashy 3: http://localhost:4003 Dashy 4: http://localhost:4004 Dashy 5: http://localhost:4005 Dashy 6: http://localhost:4006 Stop & Remove the Container bash Copy Edit docker stop dashy-multi && docker rm dashy-multi Persistence This image does not persist changes made in the Dashy UI because all configuration files are included inside the image itself.

To persist changes:

Mount a volume to store configs externally: bash Copy Edit docker run -d --name dashy-multi
-p 4001-4006:4001-4006
-v ~/dashy-config:/app/public
comanderanch/dashy-multi:v3 Manually edit the config files in ~/dashy-config/, and restart the container to apply changes. Built With This image was built using GPT-4o and fine-tuned through multiple tests to ensure it works right out of the box.

if you want to use this as a multi page dasboard without the need to edit the conf.yml just map the ip:port to a servise tab and click between dashboards i like it because its all the same styels and compleatly cusomizable happy codding

so the multi instances worked except each dashy was using the main conf.yml and each one had the info from the other like the were cloning them selfs i created a single and it will be deployed on lxc and cloned to give me multiple lxc containers the volumes need set and config file as well but it works right out of the box and no browser load..

Tag summary

Content type

Image

Digest

sha256:61aae9538

Size

134 MB

Last updated

over 1 year ago

docker pull comanderanch/dashy-multi