mirror of https://github.com/louislam/uptime-kuma
Created ๐ How to Update (markdown)
parent
a2d38fb3e7
commit
758790c803
|
@ -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โฆ
Reference in New Issue