1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-24 08:32:23 +02:00

README cleanup

This commit is contained in:
Philipp Dormann 2021-07-12 21:53:28 +02:00
parent f452bf6b13
commit 0abd3b2d16
No known key found for this signature in database
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -17,24 +17,24 @@ It is a self-hosted monitoring tool like "Uptime Robot".
# How to Use
### Docker
## Docker
```bash
# 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
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
```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.
@ -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)
@ -66,11 +66,11 @@ Choose Cheapest Plan is enough. (US$ 5)
# How to Update
### Docker
## Docker
Re-pull the latest docker image and create another container with the same volume.
### Without Docker
## Without Docker
```bash
git fetch --all