Prometheus exporter for Mikrotik routers and switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
345 B

version: '3.7'
services:
mikrotik-exporter:
build:
context: .
env_file: .env
environment:
- PROMETHEUS_BEARER_TOKEN=ZwRZm7Qe6J
network_mode: host
prometheus:
network_mode: "host"
image: prom/prometheus:latest
command:
- --config.file=/config/prometheus.yml
volumes:
- ./config:/config:ro