Telegraf Version per Env
This commit is contained in:
parent
cea4680240
commit
22220c8bb1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue