monitor
This commit is contained in:
@@ -39,3 +39,19 @@ services:
|
||||
volumes:
|
||||
- ../patata-data:/data
|
||||
#- ./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:
|
||||
Reference in New Issue
Block a user