🧹 several cleanups

This commit is contained in:
Philipp Dormann 2021-07-24 19:38:32 +02:00
parent bc0c0ccde2
commit 061f132082
No known key found for this signature in database
GPG key ID: 3BB9ADD52DCA4314
4 changed files with 12 additions and 13 deletions

View file

@ -29,10 +29,10 @@ see [sample docker-compose.yml](./docker-compose.yml)
### Manual ### Manual
```bash ```bash
# Create a volume # Create a volume
docker volume create uptime-kuma docker volume create uptime
# Start the container # Start the container
docker run -d --restart=always -p 50013:50013 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma docker run -d --restart=always -p 50013:50013 -v uptime:/app/data --name uptime philippdormann/uptime
``` ```
Browse to http://localhost:50013 after started. Browse to http://localhost:50013 after started.
@ -40,7 +40,7 @@ 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>:50013 -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 philippdormann/uptime
``` ```
## Without Docker ## Without Docker
@ -48,8 +48,8 @@ docker run -d --restart=always -p <YOUR_PORT>:50013 -v <YOUR_DIR OR VOLUME>:/app
Required Tools: Node.js >= 14, git and pm2. Required Tools: Node.js >= 14, git and pm2.
```bash ```bash
git clone https://github.com/louislam/uptime-kuma.git git clone https://github.com/philippdormann/uptime-kuma.git uptime
cd uptime-kuma cd uptime
npm run setup npm run setup
# Option 1. Try it # Option 1. Try it
@ -58,10 +58,10 @@ npm run start-server
# (Recommended) # (Recommended)
# Option 2. Run in background using PM2 # Option 2. Run in background using PM2
# Install PM2 if you don't have: npm install pm2 -g # Install PM2 if you don't have: npm install pm2 -g
pm2 start npm --name uptime-kuma -- run start-server pm2 start npm --name uptime -- run start-server
# Listen to different port or hostname # Listen to different port or hostname
pm2 start npm --name uptime-kuma -- run start-server -- --port=80 --hostname=0.0.0.0 pm2 start npm --name uptime -- run start-server -- --port=80 --hostname=0.0.0.0
``` ```
@ -83,7 +83,7 @@ Labels to filter by include:
## 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/philippdormann/uptime-kuma/tree/master)
Choose Cheapest Plan is enough. (US$ 5) Choose Cheapest Plan is enough. (US$ 5)

View file

@ -47,7 +47,7 @@ class Database {
console.error(ex) console.error(ex)
console.error("Start Uptime-Kuma failed due to patch db failed") console.error("Start Uptime-Kuma failed due to patch db failed")
console.error("Please submit the bug report if you still encounter the problem after restart: https://github.com/louislam/uptime-kuma/issues") console.error("Please submit the bug report if you still encounter the problem after restart: https://github.com/philippdormann/uptime-kuma/issues")
process.exit(1); process.exit(1);
} }
} }

View file

@ -180,7 +180,7 @@ class Notification {
"text": "Visit Uptime Kuma", "text": "Visit Uptime Kuma",
}, },
"value": "Uptime-Kuma", "value": "Uptime-Kuma",
"url": notification.slackbutton || "https://github.com/louislam/uptime-kuma" "url": notification.slackbutton || "https://github.com/philippdormann/uptime-kuma"
} }
] ]
} }

View file

@ -35,9 +35,8 @@
<footer> <footer>
<div class="container-fluid"> <div class="container-fluid">
Uptime Kuma - Uptime Kuma v{{ $root.info.version }} -
Version: {{ $root.info.version }} - <a href="https://github.com/philippdormann/uptime-kuma/releases" target="_blank" rel="noopener">GitHub Releases</a>
<a href="https://github.com/louislam/uptime-kuma/releases" target="_blank" rel="noopener">Check Update On GitHub</a>
</div> </div>
</footer> </footer>