mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-29 18:50:39 +00:00
README cleanup
This commit is contained in:
parent
f452bf6b13
commit
0abd3b2d16
1 changed files with 9 additions and 9 deletions
18
README.md
18
README.md
|
@ -17,24 +17,24 @@ It is a self-hosted monitoring tool like "Uptime Robot".
|
||||||
|
|
||||||
# How to Use
|
# How to Use
|
||||||
|
|
||||||
### Docker
|
## Docker
|
||||||
```bash
|
```bash
|
||||||
# Create a volume
|
# Create a volume
|
||||||
docker volume create uptime-kuma
|
docker volume create uptime-kuma
|
||||||
|
|
||||||
# Start the container
|
# Start the container
|
||||||
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma
|
docker run -d --restart=always -p 50013:50013 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma
|
||||||
```
|
```
|
||||||
|
|
||||||
Browse to http://localhost:3001 after started.
|
Browse to http://localhost:50013 after started.
|
||||||
|
|
||||||
Change Port and Volume
|
Change Port and Volume
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d --restart=always -p <YOUR_PORT>:3001 -v <YOUR_DIR OR VOLUME>:/app/data --name uptime-kuma louislam/uptime-kuma
|
docker run -d --restart=always -p <YOUR_PORT>:50013 -v <YOUR_DIR OR VOLUME>:/app/data --name uptime-kuma louislam/uptime-kuma
|
||||||
```
|
```
|
||||||
|
|
||||||
### Without Docker
|
## Without Docker
|
||||||
|
|
||||||
Required Tools: Node.js >= 14, git and pm2.
|
Required Tools: Node.js >= 14, git and pm2.
|
||||||
|
|
||||||
|
@ -56,9 +56,9 @@ pm2 start npm --name uptime-kuma -- run start-server -- --port=80 --hostname=0.0
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Browse to http://localhost:3001 after started.
|
Browse to http://localhost:50013 after started.
|
||||||
|
|
||||||
### One-click Deploy to DigitalOcean
|
## One-click Deploy to DigitalOcean
|
||||||
|
|
||||||
[![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)
|
[![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)
|
||||||
|
|
||||||
|
@ -66,11 +66,11 @@ Choose Cheapest Plan is enough. (US$ 5)
|
||||||
|
|
||||||
# How to Update
|
# How to Update
|
||||||
|
|
||||||
### Docker
|
## Docker
|
||||||
|
|
||||||
Re-pull the latest docker image and create another container with the same volume.
|
Re-pull the latest docker image and create another container with the same volume.
|
||||||
|
|
||||||
### Without Docker
|
## Without Docker
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git fetch --all
|
git fetch --all
|
||||||
|
|
Loading…
Reference in a new issue