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

[BUG] Can't Find Local Icons #1730

Closed
5 tasks done
wittywilla opened this issue Oct 26, 2024 · 1 comment
Closed
5 tasks done

[BUG] Can't Find Local Icons #1730

wittywilla opened this issue Oct 26, 2024 · 1 comment
Assignees
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working

Comments

@wittywilla
Copy link

Environment

Self-Hosted (Docker)

System

Ubuntu Server 24.04 - CasaOS Instance

Version

3.1.1

Describe the problem

I'm using a docker compose file to deploy a stack in portioner for Dashy

The docker compose file I have set up is as follows:

---
version: "3.8"
services:
  dashy:
    # To build from source, replace 'image: lissy93/dashy' with 'build: .'
    # build: .
    image: lissy93/dashy
    container_name: Dashy
    # Pass in your config file below, by specifying the path on your host machine
    volumes:
      - /DATA/AppData/Dashy/User-Data/item-icons:/app/user-data/item-icons
      - /DATA/AppData/Dashy/User-Data/conf.yml:/app/user-data/conf.yml
    ports:
      - 4000:8080
    # Set any environmental variables
    environment:
      - NODE_ENV=production
    # Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
      - UID=1000
      - GID=1000
    # Specify restart policy
    restart: unless-stopped
    # Configure healthchecks
    healthcheck:
      test: ['CMD', 'node', '/app/services/healthcheck']
      interval: 1m30s
      timeout: 10s
      retries: 3
      start_period: 40s

I created this following the documentation. I'm having issues accessing the mounted icons folder within Dashy itself. Whenever I try to use either the syntax:
icon: ytstudiored.svg
or use
/app/user-data/item-icons/ytstudiored.svg
when trying to add a local icon, it still shows a broken icon image every single time.

I'm unsure what I'm doing wrong here, and I would like some help on this if possible!

Please let me know if you need anything else from me. I'm still fairly new to self-hosting and docker, so it could be something simple I overlooked.

Thanks in advance,
--wittywilla

Additional info

dashy broken icon
dashy local icon example
dashy portainer

Please tick the boxes

@wittywilla wittywilla added the 🐛 Bug [ISSUE] Ticket describing something that isn't working label Oct 26, 2024
@github-project-automation github-project-automation bot moved this to Awaiting Triage in Dashy V3 Oct 26, 2024
@wittywilla
Copy link
Author

figured out my mistake. I was following along the documentation for the .yml file and not the UI. If someone else is stuck, all they have to do is type in the file name, no need for the "icon: "

@github-project-automation github-project-automation bot moved this from Awaiting Triage to Done in Dashy V3 Oct 26, 2024
@liss-bot liss-bot added 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending and removed 👤 Awaiting Maintainer Response [ISSUE] Response from repo author is pending labels Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug [ISSUE] Ticket describing something that isn't working
Projects
Status: Done
Development

No branches or pull requests

3 participants