Skip to content

[QUESTION] Unable to Get Multiple Pages to Work #1761

@qfy1r9

Description

@qfy1r9

Question

Hi there,

I’m having some trouble getting multiple pages to work in my Dashy setup. Here’s a breakdown of the issue:

I’ve created the necessary YAML files (work.yml, homelab.yml, and bookmarks.yml) and referenced them in my conf.yml file. The docker-compose.yml is also configured correctly, but when I deploy the container, the pages do not appear.

When I go into the settings and manually add the page titles and paths (e.g., work.yml, homelab.yml), and refresh the page, I encounter the following error message:

"work.yml or bookmarks.yml not found."

I’ve double-checked my file paths, but I’m still facing the issue. Could someone point out what I might be missing or doing wrong? Any guidance would be greatly appreciated!

Skjermbilde 2024-12-05 133005
Skjermbilde 2024-12-05 132845

Docker-Compose Configuration:

version: "3.8"
services:
  dashy:
    image: lissy93/dashy
    container_name: Dashy
    restart: unless-stopped
    environment:
      - NODE_ENV=production
    volumes:
      - '/home/docker/dashy/public/conf.yml:/app/public/conf.yml'
      - '/home/docker/dashy/icons:/app/public/item-icons/icons'
    ports:
      - '4000:8080'
    healthcheck:
      test: ['CMD', 'node', '/app/services/healthcheck']
      interval: 1m30s
      timeout: 10s
      retries: 3
      start_period: 40s

conf.yml:

pages:
  - name: Work
    path: 'work.yml'
  - name: Homelab
    path: 'homelab.yml'
  - name: Bookmarks
    path: 'bookmarks.yml'

---
appConfig:
  theme: colorful
  layout: auto
  iconSize: medium
  language: en
pageInfo:
  title: Start Page
  description: Welcome to your Home Lab!
  navLinks:
    - title: GitHub
      path: https://github.com/Lissy93/dashy
    - title: Documentation
      path: https://dashy.to/docs
  footerText: ''
sections:
  - name: Starter Only
    icon: fas fa-server
    items:
      - title: Google
        description: Search
        url: https://google.com

work.yml:

pageInfo:
  title: Work Resources
  description: Tools and links related to work
sections:
  - name: Tools
    icon: fas fa-briefcase
    items:
      - title: Jira
        url: https://jira.example.com
        icon: fas fa-tasks
      - title: Slack
        url: https://slack.com
        icon: fas fa-comments
      - title: Trello
        url: https://trello.com
        icon: fas fa-columns

homelab.yml:

pageInfo:
  title: Homelab
  description: Monitor and manage your home servers
sections:
  - name: Monitoring
    icon: fas fa-server
    items:
      - title: Grafana
        url: https://grafana.example.com
        icon: fas fa-chart-line
      - title: Portainer
        url: https://portainer.example.com
        icon: fas fa-docker
  - name: Services
    items:
      - title: Jellyfin
        url: https://jellyfin.example.com
        icon: fas fa-film
      - title: Nextcloud
        url: https://nextcloud.example.com
        icon: fas fa-cloud

Category:

Configuration

Checklist:


Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions