Skip to content

Instantly share code, notes, and snippets.

@i40sys
Created March 1, 2022 05:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i40sys/a2f5f777f2a76f94ac2b63ce78e6116e to your computer and use it in GitHub Desktop.
Save i40sys/a2f5f777f2a76f94ac2b63ce78e6116e to your computer and use it in GitHub Desktop.
version: '3.3'
services:
telegraf:
container_name: telegraf
restart: unless-stopped
image: telegraf
privileged: true
volumes:
- '/:/hostfs:ro'
- '/run/udev:/run/udev:ro'
- './etc/telegraf.conf:/etc/telegraf/telegraf.conf:ro'
- '/etc/localtime:/etc/localtime:ro'
environment:
- HOST_PROC=/hostfs/proc
- TZ=Europe/Madrid
networks:
- i40sys
networks:
i40sys:
external:
name: i40sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment