Telegraf Version per Env

This commit is contained in:
Florian Zirker 2023-06-12 08:57:54 +02:00
parent cea4680240
commit 22220c8bb1

View file

@ -1,7 +1,7 @@
services:
host:
image: telegraf:1.18
image: telegraf:${TELEGRAF_VERSION}
restart: unless-stopped
environment:
- HOST_MOUNT_PREFIX=/hostfs
@ -19,7 +19,7 @@ services:
- "docker.group=telegraf"
net:
image: telegraf:1.18
image: telegraf:${TELEGRAF_VERSION}
restart: unless-stopped
volumes:
- ./telegraf_net.conf:/etc/telegraf/telegraf.conf:ro