Browse Source

Add Prometheus port in Service

Separate port for prometheus metrics
Add Prometheus metrics [Feat]: Simple Stats API #1285
pull/1299/head
Vadim Babadzhanyan 8 months ago
parent
commit
a7376abcf1
  1. 1
      wg-easy.service

1
wg-easy.service

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

Loading…
Cancel
Save