Sign inSign up

comanderanch/dashy-single

By comanderanch

Updated over 1 year ago

Image
0

223

comanderanch/dashy-single repository overview

v1 and v2 are the same but this one works just folow these directions and it will work out of the box ( note to self-learn this stuff beause the rabit hole is getting frustrating)

Step 1: Delete the Incorrect Files & Folders Run this to remove the broken structure:

rm -rf ~/dashy-config

Step 2: Recreate the Correct Folder and Config File

mkdir -p ~/dashy-config
nano ~/dashy-config/conf.yml

Paste this inside conf.yml and save:

appConfig:
  title: "Dashy"
  subtitle: "Your custom dashboard"
  theme: "colorful"
pages:
  - name: "Main Page"
    icon: "fas fa-home"
    sections:
      - name: "General"
        items:
          - title: "Example Link"
            url: "http://example.com"
            icon: "fas fa-link"

or this is better

---
# 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

Save & Exit. (Press CTRL + X, then Y, then Enter.)

Step 3: Ensure Correct Permissions

chmod 666 ~/dashy-config/conf.yml

Step 4: Remove Any Broken Dashy Containers

docker stop dashy-single
docker rm dashy-single
docker volume rm dashy-config

Step 5: Start Dashy Again

docker run -d --name dashy-single \
  --restart=always \
  -p 4000:4000 \
  -v ~/dashy-config/conf.yml:/app/public/conf.yml \
  comanderanch/dashy-single:latest

Step 6: Verify It's Running

docker ps

Step 7: Test in Browser

http://your-server-ip:4000

Or run:

curl -I http://localhost:4000

THIS TIME IT WILL WORK. We are NOT touching it again after this. Once this works, you can clone it as many times as needed. Let me know what happens! 🚀

Tag summary

Content type

Image

Digest

sha256:cbea86e9d

Size

135.2 MB

Last updated

over 1 year ago

docker pull comanderanch/dashy-single