Build and fire up the container stack with docker-compose up --build -d
.
Configuration can be done by mounting an infping.yaml
as /config/infping.yaml
into the container, similar to this:
influx:
host: <influxdb host>
port: <influxdb port>
user: <influxdb user>
pass: <influxdb passwort>
secure: <true or false>
db: <influxdb database>
fping:
backoff: 1
retries: 0
tos: 0
summary: 60
period: 1000
custom: {}
hosts:
hosts:
# Google DNS
- 8.8.8.8
- 8.8.4.4
# Cloudflare
- 1.1.1.1
- 1.0.0.1
# QuadNine
- 9.9.9.9
# [...]
See the infping README for a documentation of the config format.
The last line of
RUN
needs to be updated like so: