Separate port for prometheus metrics

Add Prometheus metrics [Feat]: Simple Stats API #1285
This commit is contained in:
Vadim Babadzhanyan
2024-08-22 11:47:05 +03:00
parent a35387ab68
commit 6d246ea4bd
5 changed files with 35 additions and 15 deletions
+2
View File
@@ -14,6 +14,7 @@ services:
# Optional:
# - PASSWORD_HASH=$$2y$$10$$hBCoykrB95WSzuV4fafBzOHWKu9sbyVa34GJr8VV5R/pIelfEMYyG (needs double $$, hash of 'foobar123'; see "How_to_generate_an_bcrypt_hash.md" for generate the hash)
# - PORT=51821
# - PROMETHEUS_METRICS_PORT=9586
# - WG_PORT=51820
# - WG_CONFIG_PORT=92820
# - WG_DEFAULT_ADDRESS=10.8.0.x
@@ -39,6 +40,7 @@ services:
ports:
- "51820:51820/udp"
- "51821:51821/tcp"
- "9586:9586/tcp"
restart: unless-stopped
cap_add:
- NET_ADMIN