Add Prometheus port in Service

Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
This commit is contained in:
Vadim Babadzhanyan
2024-08-22 11:54:44 +03:00
parent 9760bde2f2
commit a7376abcf1
+1
View File
@@ -10,6 +10,7 @@ Environment="PASSWORD=REPLACEME" # When set, requires a password when logging in
#Environment="WG_ALLOWED_IPS=0.0.0.0/0,::/0" #Allowed IPs clients will use.
#Environment="WG_DEVICE=ens1" #Ethernet device the wireguard traffic should be forwarded through.
#Environment="PORT=80" #TCP port for Web UI. Default : 51821
#Environment="PROMETHEUS_METRICS_PORT=9586" #TCP port for Prometheus metrics. Default : 9586
#Environment="WG_MTU=1420" #The MTU the clients will use. Server uses default WG MTU
#Environment="WG_PERSISTENT_KEEPALIVE=25" #Value in seconds to keep the "connection" open. If this value is 0, then connections won't be kept alive.
Type=simple