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