mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-01 11:22:34 +02:00
🧹 several cleanups
This commit is contained in:
parent
bc0c0ccde2
commit
061f132082
4 changed files with 12 additions and 13 deletions
16
README.md
16
README.md
|
@ -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
|
||||||
|
|
||||||
[](https://cloud.digitalocean.com/apps/new?repo=https://github.com/louislam/uptime-kuma/tree/master&refcode=e2c7eb658434)
|
[](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)
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue