Endlessh Stack: make the promehteus host addr configurable
This commit is contained in:
parent
6860191f04
commit
60d8336794
2 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,7 @@ services:
|
|||
- "-max_mind_db=/geo-data/GeoLite2-City.mmdb"
|
||||
ports:
|
||||
- 22:2222 # SSH port
|
||||
- 127.0.0.1:2112:2112 # Prometheus metrics port
|
||||
- ${MONITORING_ADDR:-127.0.0.1}:2112:2112 # Prometheus metrics port
|
||||
volumes:
|
||||
- ./geo-data/:/geo-data/:ro # geoip data
|
||||
logging:
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
# The ip address where the prometheus metrics endpoint is published
|
||||
MONITORING_ADDR=
|
||||
|
||||
# the urls to where your loki instance is running
|
||||
# The urls to where your loki instance is running
|
||||
LOKI_URL=
|
||||
|
||||
# Maxminds accont login info
|
||||
|
|
Loading…
Add table
Reference in a new issue