helium-dashboard
helium-dashboard copied to clipboard
Docker compose
Any chance to add a docker compose file for whole stack? Thanks
I personally wasn't planning on it right now. But, feel free to put in a PR if you get something going.
I agree. I would love this in docker.
I let it run over the Docker container but the cronjob doesn't work properly. Only a manual "npm start" writes the data to the Influx DB.
Execution at Fri Jun 17 2022 09:57:00 GMT+0000 (Coordinated Universal Time) Processing helium Helium: rejected -> Error: Cannot read properties of undefined (reading 'split') Error: Cannot read properties of undefined (reading 'split') crond[1]: USER root pid 14993 cmd /usr/local/bin/node /app/test/test_lambda.js >> /dev/stdout 2>&1 Influx: initializing Running lambda... Node ver: v17.9.1 Received event: {
How can I solve this problem ?
If I can see the folder structure where I can embed everything in a Linux system, that would also be a great help. Thank you for your time and support. thx Daniel
There was an example here: https://github.com/konstk1/helium-dashboard/pull/9
My current production config (using my fork) looks like this:
helium-poller:
build:
context: ./helium-dashboard
labels:
- autoheal=false
image: helium-dashboard:latest
depends_on:
- influxdb
environment:
INFLUX_HOST: ${MONITORING_HOST}
INFLUX_PORT: 8086
INFLUX_BUCKET: helium
INFLUX_ORG: myorg
INFLUX_TOKEN: ${INFLUX_WRITE_TOKEN}
HELIUM_WALLET: ${HELIUM_WALLET}
HELIUM_HOTSPOT: ${HELIUM_HOTSPOT}
HELIUM_ACTIVITY_LOOKBACK_HOURS: 8
#DEBUG_TO_CONSOLE: 1
TZ: Europe/Berlin