Changed incorrect port number

As mqtt2promethius is built from source,
it should export 9641:9641 instead of 8002:8002

Fixes issue #17
This commit is contained in:
Vikram N. Subramanian
2020-09-17 15:37:43 -04:00
parent 357948345d
commit f14e2a7696
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ services:
context: ../ context: ../
dockerfile: Dockerfile dockerfile: Dockerfile
ports: ports:
- 8002:8002 - 9641:9641
volumes: volumes:
- type: bind - type: bind
source: ./mqtt2prometheus.yaml source: ./mqtt2prometheus.yaml
@@ -22,4 +22,4 @@ services:
volumes: volumes:
- type: bind - type: bind
source: ./prometheus.yml source: ./prometheus.yml
target: /etc/prometheus/prometheus.yml target: /etc/prometheus/prometheus.yml

View File

@@ -27,4 +27,4 @@ scrape_configs:
scheme: http scheme: http
static_configs: static_configs:
- targets: - targets:
- mqtt2prometheus:8002 - mqtt2prometheus:9641