dashy

dashy 구성

image

  graph LR
  subgraph cloud
  A1[ec4mrjp5] <-- https --> B[dashy]
  A2[m7jrgve9] <-- https --> B
  A3[gvp6nx1a] <-- http --> B
  end
  A4[agq3mbw2] <-- https --> B
  subgraph home-lab
  A5[sj9n7air] <-- http --> A4
  end
  B <-- https --> A6[client]

container 구성

docker-compose.yml

vi /opt/dashy/docker-compose.yml
services:
  dashy:
    image: lissy93/dashy:latest
    container_name: dashy
    networks:
      - dev
    ports:
      - 8080/tcp
    user: 0:0
    environment:
      - UID=1000
      - GID=1000
      - MODE_ENV=production
      - TZ=Asia/Seoul
    volumes:
      - /opt/dashy/config/conf.yml:/app/user-data/conf.yml:rw
      - /opt/dashy/item-icons:/app/user-data/item-icons:rw
    restart: unless-stopped
networks:
  dev:
    external: true

암호 구성

로그인 암호 sha256 hash 생성 후 구성에 저장

echo -n "2***************************************************************" | sha256sum
7***************************************************************
vi /opt/dashy/config/conf.yml
appConfig:
  auth:
    users:
      - user: dev
        hash: 7***************************************************************
        type: admin
...

데모 페이지

image

바로 가기

Troubleshooting