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
Enterant in the Golem Mainnet @GR9 Hackathon - Open Track
- Presentation (hackathon/Golem-Dashboard.pdf)
- Youtube Video Demo
- Team Members - Vincente Ciancio
Desktop | Mobile |
---|---|
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 |
Port | Description |
---|---|
3000 | Node Port |
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
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