Endlessh Stack: make the promehteus host addr configurable

This commit is contained in:
Aroy-Art 2025-03-25 14:04:11 +01:00
parent 6860191f04
commit 60d8336794
Signed by: Aroy
GPG key ID: 583642324A1D2070
2 changed files with 4 additions and 2 deletions

View file

@ -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:

View file

@ -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