mqtt2prom/docker-compose.yml

20 lines
371 B
YAML

version: "3"
services:
worker:
build: mqtt2prom
restart: always
environment:
MQTT_HOST: 10.0.10.2
MQTT_PORT: 1883
# MQTT_USER: mqtt
# MQTT_PASS: pass
volumes:
- ./data/metrics:/www/metrics
webserv:
build: webserv
restart: always
ports:
- "8080:80"
volumes:
- ./data/metrics:/www/metrics