mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-06 05:12:33 +02:00
Created 🆙 How to Update (markdown)
parent
a2d38fb3e7
commit
758790c803
1 changed files with 25 additions and 0 deletions
25
🆙-How-to-Update.md
Normal file
25
🆙-How-to-Update.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
### 🆙🐳 Docker
|
||||||
|
|
||||||
|
Re-pull the latest docker image and create another container with the same volume.
|
||||||
|
|
||||||
|
For someone who used my "How-to-use" commands to install Uptime Kuma, you can update by this:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker pull louislam/uptime-kuma:1
|
||||||
|
docker stop uptime-kuma
|
||||||
|
docker rm uptime-kuma
|
||||||
|
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
|
||||||
|
```
|
||||||
|
|
||||||
|
PS: For every new release, it takes some time to build the docker image, please be patient if it is not available yet.
|
||||||
|
|
||||||
|
### 🆙 💪🏻 Without Docker
|
||||||
|
|
||||||
|
```bash
|
||||||
|
cd <uptime-kuma-directory>
|
||||||
|
git fetch --all
|
||||||
|
git checkout 1.2.0 --force
|
||||||
|
npm install
|
||||||
|
npm run build
|
||||||
|
pm2 restart uptime-kuma
|
||||||
|
```
|
Loading…
Add table
Reference in a new issue