🧹 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
```bash
# Create a volume
docker volume create uptime-kuma
docker volume create uptime
# 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.
@ -40,7 +40,7 @@ Browse to http://localhost:50013 after started.
Change Port and Volume
```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
@ -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.
```bash
git clone https://github.com/louislam/uptime-kuma.git
cd uptime-kuma
git clone https://github.com/philippdormann/uptime-kuma.git uptime
cd uptime
npm run setup
# Option 1. Try it
@ -58,10 +58,10 @@ npm run start-server
# (Recommended)
# Option 2. Run in background using PM2
# 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
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
[![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)

View File

@ -47,7 +47,7 @@ class Database {
console.error(ex)
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);
}
}

View File

@ -180,7 +180,7 @@ class Notification {
"text": "Visit 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>
<div class="container-fluid">
Uptime Kuma -
Version: {{ $root.info.version }} -
<a href="https://github.com/louislam/uptime-kuma/releases" target="_blank" rel="noopener">Check Update On GitHub</a>
Uptime Kuma v{{ $root.info.version }} -
<a href="https://github.com/philippdormann/uptime-kuma/releases" target="_blank" rel="noopener">GitHub Releases</a>
</div>
</footer>