Allow setting the listen port via an env variable

This commit is contained in:
2024-05-03 16:57:05 +02:00
parent 263fca5c10
commit 82445353b5
2 changed files with 12 additions and 5 deletions

View File

@ -1,4 +1,9 @@
# Enter the MAC Address of the TP-Link switch
# you want to monitor here
TPLINK_MAC=ff:ff:ff:ff:ff:ff
TPLINK_MAC=ff:ff:ff:ff:ff:ff
# The port to bind the Prometheus HTTP server on
# (default: 9717)
LISTEN_PORT=9717