No description
Pieter Hollander
2259c8c619
All checks were successful
Build Docker image / build (push) Successful in 1m6s
|
||
---|---|---|
.gitea/workflows | ||
docker | ||
.gitignore | ||
Dockerfile | ||
go.mod | ||
go.sum | ||
main.go | ||
README.md |
OpenDTU logger
OpenDTU logger connects to the OpenDTU livedata websocket and captures metrics. These metrics are inserted into a PostgreSQL database. Optionally, TimescaleDB can be used for better performance.
Environment variables
REMOTE_URL="opendtu:80"
DB_URL="host=localhost port=5432 user=postgres password=secret dbname=dtu sslmode=disable"
TIMESCALEDB_ENABLED="true"
TZ="Europe/Amsterdam"