This commit is contained in:
2024-03-31 16:25:29 +02:00
parent 1e6f4ebb37
commit 07e1abd43a

View File

@@ -39,3 +39,19 @@ services:
volumes: volumes:
- ../patata-data:/data - ../patata-data:/data
#- ./simple-discord-bot.toml:/data/config/simple-discord-bot.toml #- ./simple-discord-bot.toml:/data/config/simple-discord-bot.toml
telegraf:
container_name: mc-telegraf-patata
image: telegraf:1.13
ports:
- 8094:8094
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
monitor:
container_name: mc-monitor-patata
build:
context: ../..
command: gather-for-telegraf
environment:
GATHER_INTERVAL: 10s
GATHER_TELEGRAF_ADDRESS: telegraf:8094
GATHER_SERVERS: mc-forge-patata: