Skip to content

edifus/docker-chia-dashboard-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unofficial Chia-Dashboard-UI Docker container

https://github.com/felixbrucker/chia-dashboard-ui

Based on Linuxserver.io Alpine Nginx container.

Now based on single image and does not require separate chia-dashboard-core

Instructions

git clone https://github.com/edifus/docker-chia-dashboard-ui.git
cd docker-chia-dashboard-ui

Dashboard Core

  • Modify .env.template and save as .env with your own values, requires at least one oauth provider.
  • PUID - Set UserID to run container | PGID - Set GroupID to run container

Dashboard UI

  • Modify dockerfile/config.ts.template and save as dockerfile/config.ts with your own values, requires at least one oauth provider.
  • PUID and PGID will apply to this container as well

Run containers

docker-compose build
docker-compose up -d

Updates

NOTE: Delete /path/to/config/nginx/nginx.conf and /path/to/config/nginx/site-confs/default to get updates to nginx configuration and update satellite URLs if needed.

docker-compose build --no-cache
docker-compose up -d
docker image prune

Dashboard UI

  • Access Dashboard at http://<docker-host-ip>
  • Direct Satellites to http://<docker-host-ip>

Reverse Proxy

  • Recommend running these services behind reverse proxy with SSL if hosting over the internet.

Traefik v2 Example (existing setup required)

version: '3.8'

services:
  chia-dashboard-ui:
    build: ./dockerfile
    image: chia-dashboard-ui
    container_name: chia-dashboard-ui
    env_file:
      - .env
    volumes:
      - type: bind
        source: /etc/localtime
        target: /etc/localtime
        read_only: true
      - type: bind
        source: /path/to/config
        target: /config
    labels:
      traefik.enable: 'true'
      traefik.http.middlewares.redirect-https.redirectscheme.scheme: https
      traefik.http.middlewares.redirect-https.redirectscheme.permanent: 'true'
      traefik.http.routers.chia-dashboard-http.entrypoints: http
      traefik.http.routers.chia-dashboard-http.rule: Host(`chia-dashboard.domain.tld`)
      traefik.http.routers.chia-dashboard-http.middlewares: redirect-https
      traefik.http.routers.chia-dashboard-http.service: chia-dashboard
      traefik.http.routers.chia-dashboard-https.entrypoints: https
      traefik.http.routers.chia-dashboard-https.rule: Host(`chia-dashboard.domain.tld`)
      traefik.http.routers.chia-dashboard-https.tls: 'true'
      traefik.http.routers.chia-dashboard-https.service: chia-dashboard
      traefik.http.services.chia-dashboard.loadbalancer.server.port: 80
    restart: unless-stopped

WebUI

Satellite Configuration Example

chiaConfigDirectory: /home/user/.chia/mainnet
apiKey: f2d3a4ed-6480-4ae8-b130-06fd1845b440
excludedServices:
  - wallet
  - fullNode
chiaDashboardCoreUrl: https://chia-dashboard.domain.tld

About

Unofficial Chia-Dashboard-UI docker container

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published