Make influx work in Docker #110
Merged
rozetko
merged 4 commits from influx-docker
into main
2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'influx-docker'
Deleting a branch is permanent. It CANNOT be undone. Continue?
This PR fixes the issue reported here: https://github.com/hastic/hastic/issues/110. The issue is that hastic inside Docker can't connect to Influx.
It happens because there is a default Prometheus config inside the Docker container which has priority over Influx config.
Changes:
config.example.toml
: comment out everything exceptport
. Now hastic won't useprometheus
config fromconfig.toml
instead of Influx config from environment variablesconfig.rs
: print all config values so that we can easily see such problems in the future (we were only printing environment variables before)Other changes:
docker-compose.yml
: rmnetwork-mode: host
because hastic doesn't need itabbadbc155
into main 2 years ago@rozetko damn bro this is cool. tnx
Reviewers
abbadbc155
.