Jafner.net/docker_config/mc-monitor/docker-compose.yml
2021-08-02 23:20:43 -07:00

17 lines
350 B
YAML

version: '3'
services:
telegraf:
image: telegraf:1.13
ports:
- 8094:8094
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
monitor:
image: itzg/mc-monitor
command: gather-for-telegraf
environment:
GATHER_INTERVAL: 10s
GATHER_TELEGRAF_ADDRESS: telegraf:8094
GATHER_SERVERS: e6.jafner.net