mqtt2prom/docker-compose.yml

20 lines
371 B
YAML
Raw Permalink Normal View History

2024-08-14 14:51:03 +02:00
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