From 02bf4fc31bad2842e7aca0e2b0e0f3838f7d9e53 Mon Sep 17 00:00:00 2001 From: Rakovskij Stanislav Date: Mon, 2 Oct 2023 15:01:06 +0300 Subject: [PATCH 1/3] Making docker usage with localhost and external ip more clear --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 28840d8a..d6232066 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,14 @@ docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name upti ⚠️ Please use a **local volume** only. Other types such as NFS are not supported. -Uptime Kuma is now running on http://localhost:3001 +Uptime Kuma is now running on http://:3001 + +If you want to run it at localhost (without exposing port for other users or to use with nginx), you can expose port like that: + +```bash +docker run -d --restart=always -p 127.0.0.1:3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1 +``` + ### 💪🏻 Non-Docker From 291992764170a39bb71123f12e462e7e3ff89f0d Mon Sep 17 00:00:00 2001 From: Rakovskij Stanislav Date: Thu, 5 Oct 2023 09:49:35 +0300 Subject: [PATCH 2/3] Add localhost url for convenience --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d6232066..34e14f73 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name upti ⚠️ Please use a **local volume** only. Other types such as NFS are not supported. -Uptime Kuma is now running on http://:3001 +Uptime Kuma is now running on http://:3001 (and http://127.0.0.1:3001 too). If you want to run it at localhost (without exposing port for other users or to use with nginx), you can expose port like that: From ca82e3d7e30ff2456bd77903043f6e638412f2d7 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Sun, 4 Feb 2024 11:15:25 +0100 Subject: [PATCH 3/3] Reworded the documentation to use an alert instead --- README.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 34e14f73..d5086092 100644 --- a/README.md +++ b/README.md @@ -45,13 +45,14 @@ docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name upti ⚠️ Please use a **local volume** only. Other types such as NFS are not supported. -Uptime Kuma is now running on http://:3001 (and http://127.0.0.1:3001 too). - -If you want to run it at localhost (without exposing port for other users or to use with nginx), you can expose port like that: - -```bash -docker run -d --restart=always -p 127.0.0.1:3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1 -``` +Uptime Kuma is now running on . + +> [!NOTE] +> If you want to limit exppoure to localhost (without exposing port for other users or to use a [reverse proxyx](https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy)), you can expose the port like this: +> +> ```bash +> docker run -d --restart=always -p 127.0.0.1:3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1 +> ``` ### 💪🏻 Non-Docker