Skip to content

vciancio/golem-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golem Dashboard

Just a very barebones reactjs dashboard which will display the stats of your golem nodes... Cause ssh-ing into each of them is too hard. Works with vciancio/golem-node-server

Hackathon Entry Plug

Enterant in the Golem Mainnet @GR9 Hackathon - Open Track

Screenshots

Desktop Mobile
image image
image image

Environment Variables

Variables Description Example
REACT_APP_ADDRESSES List of host:port addresses where your golem instances are located. 192.168.1.2:5000
REACT_APP_POLL_RATE Polling Rate to refresh dashboard data in Milliseconds 5000

Ports

Port Description
3000 Node Port

Running Without Docker

Note: if you don't have your environment variables set on your system, you can set them for a single command as shown below. Requires NPM version 6 to run. Make sure to update your NPM version to latest before running this app.

cd app
npm install
REACT_APP_ADDRESSES=192.168.1.2:5000 npm start

Running w/ Docker Compose

version: '3.5'
services:
  node:
    container_name: golem_dashboard
    build: .
    restart: always
    environment:
      - REACT_APP_ADDRESSES=192.168.1.2:5000,192.168.1.2:5001
      - REACT_APP_REFRESH_RATE=5
    volumes:
      - /etc/localtime:/etc/localtime:ro
    ports: 
      - 3000:3000

About

ReactJS Dashboard which exposes information about your golem-providers such as # of completed tasks, etc.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published