From c7dfb36349ec611ec8e1641f50b874a28e82a24f Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 12 Jul 2021 20:00:12 +0800 Subject: [PATCH 1/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5f2508310..0c932f4a9 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,7 @@ Browse to http://localhost:3001 after started. [![Deploy to DO](https://www.deploytodo.com/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/louislam/uptime-kuma/tree/master&refcode=e2c7eb658434) +Choose Cheapest Plan is enough. (US$ 5) # How to Update From a6e16116f2d12c5d169d13c98bf374cff79b51ca Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Mon, 12 Jul 2021 20:08:51 +0800 Subject: [PATCH 2/2] improve the docker script --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c932f4a9..08f5eb470 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,11 @@ It is a self-hosted monitoring tool like "Uptime Robot". ### Docker ```bash -docker run -d --restart=always -p 3001:3001 louislam/uptime-kuma +# Create a volume +docker volume create uptime-kuma + +# Start the container +docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma ``` Browse to http://localhost:3001 after started. @@ -27,7 +31,7 @@ Browse to http://localhost:3001 after started. Change Port and Volume ```bash -docker run -d --restart=always -p :3001 -v :/app/data louislam/uptime-kuma +docker run -d --restart=always -p :3001 -v :/app/data --name uptime-kuma louislam/uptime-kuma ``` ### Without Docker