diff --git a/README.md b/README.md index 3469f2e..67dbf9e 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ command: ``` docker run --rm -e "MINER_ADDRESS=${MINER_ADDRESS}" \ -v "${PWD}/docker/telegraf.conf:/etc/telegraf/telegraf.conf:ro" -v "${PWD}/telegraf:/etc/telegraf/telegraf.d:ro" \ - telegraf:1.15.4 telegraf -test -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d + telegraf:1.18.2 telegraf -test -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d ``` Example: diff --git a/docker-compose.yml b/docker-compose.yml index a755892..4fa891a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,7 +32,7 @@ services: entrypoint: telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d env_file: - ./docker/environment - image: telegraf:1.17 + image: telegraf:1.18.2 volumes: - ./docker/telegraf.conf:/etc/telegraf/telegraf.conf - ./telegraf:/etc/telegraf/telegraf.d