From 537ecb8db0abdb5112c77626d1dc9e379dad4f5d Mon Sep 17 00:00:00 2001
From: Yang Bin <y0ngb1n@163.com>
Date: Thu, 17 Mar 2022 09:25:42 +0800
Subject: [PATCH] =?UTF-8?q?docs:=20fixed=20`/metrics`=20endpoint=20`8080?=
 =?UTF-8?q?=20=E2=86=92=209090`,=20reference=20`config-example.yaml`?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 docs/running-headscale-container.md | 3 ++-
 docs/running-headscale-linux.md     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/running-headscale-container.md b/docs/running-headscale-container.md
index d39f4d4..36e63de 100644
--- a/docs/running-headscale-container.md
+++ b/docs/running-headscale-container.md
@@ -55,6 +55,7 @@ docker run \
   --rm \
   --volume $(pwd)/config:/etc/headscale/ \
   --publish 127.0.0.1:8080:8080 \
+  --publish 127.0.0.1:9090:9090 \
   headscale/headscale:<VERSION> \
   headscale serve
 
@@ -80,7 +81,7 @@ docker ps
 Verify `headscale` is available:
 
 ```shell
-curl http://127.0.0.1:8080/metrics
+curl http://127.0.0.1:9090/metrics
 ```
 
 6. Create a namespace ([tailnet](https://tailscale.com/kb/1136/tailnet/)):
diff --git a/docs/running-headscale-linux.md b/docs/running-headscale-linux.md
index 09e43dc..1e9d11c 100644
--- a/docs/running-headscale-linux.md
+++ b/docs/running-headscale-linux.md
@@ -67,7 +67,7 @@ To run `headscale` in the background, please follow the steps in the [SystemD se
 Verify `headscale` is available:
 
 ```shell
-curl http://127.0.0.1:8080/metrics
+curl http://127.0.0.1:9090/metrics
 ```
 
 8. Create a namespace ([tailnet](https://tailscale.com/kb/1136/tailnet/)):