plugsy / core

A simple, pluggable dashboard and status page
161 stars 4 forks source link

Labeled containers do not show up in dashboard #12

Closed andlil closed 3 years ago

andlil commented 3 years ago

Hello!

Interesting project but I can't get it to work.

This is my docker-compose.yml

version: '3.3'
services:
  plugsy:
    image: plugsy/core
    container_name: plugsy
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Stockholm
    volumes:
      - './config:/config'
      - /var/run/docker.sock:/var/run/docker.sock
    restart: always
    labels:
      - traefik.enable=true
      - traefik.http.services.plugsy.loadbalancer.server.port=3000
      - traefik.http.routers.plugsy.entrypoints=websecure
      - traefik.http.routers.plugsy.rule=Host(`plugsy.domain.tld`)
      - traefik.http.routers.plugsy.tls=true
      - traefik.http.routers.plugsy.middlewares=security-headers@file
      - dockerDash.name=Plugsy
      - dockerDash.link=https://plugsy.domain.tld
    networks:
      - web
networks:
  web:
    external: true

Plugsy runs but only displays this Skärmavbild 2021-06-27 kl  11 27 47

Shouldn't it pick up the labels on its own container and display them?

Inlustra commented 3 years ago

Hi, thanks for giving it a go! It looks like you're missing the category! The category is required if you want it to appear under a title in the dashboard itself

andlil commented 3 years ago

I just added the category and now it works, you should update the docs to make it more obvious that it is required.

Inlustra commented 3 years ago

Great, thanks for the suggestion, I've added a little FAQ section to the README :)