Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
4 tasks done
qfy1r9 opened this issue Dec 5, 2024 · 0 comments
Open
4 tasks done

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

qfy1r9 opened this issue Dec 5, 2024 · 0 comments
Assignees
Labels
🤷‍♂️ Question [ISSUE] Further information is requested

Comments

@qfy1r9
Copy link

qfy1r9 commented Dec 5, 2024

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:


@qfy1r9 qfy1r9 added the 🤷‍♂️ Question [ISSUE] Further information is requested label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤷‍♂️ Question [ISSUE] Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants