mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-14 16:42:35 +02:00
Update README.md
Added simple docker docker-compose file install & update instructions
This commit is contained in:
parent
0d69b4426e
commit
b5b277fbec
1 changed files with 38 additions and 0 deletions
38
README.md
38
README.md
|
@ -45,6 +45,44 @@ docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name upti
|
||||||
|
|
||||||
Browse to http://localhost:3001 after starting.
|
Browse to http://localhost:3001 after starting.
|
||||||
|
|
||||||
|
### 🐳 Docker-Compose
|
||||||
|
|
||||||
|
Simple docker-composer.yml
|
||||||
|
|
||||||
|
```bash
|
||||||
|
|
||||||
|
# You can change container_name, port or volume location
|
||||||
|
|
||||||
|
version: '3.3'
|
||||||
|
|
||||||
|
services:
|
||||||
|
uptime-kuma:
|
||||||
|
image: louislam/uptime-kuma:1
|
||||||
|
container_name: uptime-kuma
|
||||||
|
volumes:
|
||||||
|
- ./data:/app/data
|
||||||
|
ports:
|
||||||
|
- 3001:3001
|
||||||
|
```
|
||||||
|
|
||||||
|
⚠️ Please use a **local volume** only. Other types such as NFS are not supported.
|
||||||
|
|
||||||
|
Start with
|
||||||
|
```bash
|
||||||
|
sudo docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
Update container to latest version:
|
||||||
|
```bash
|
||||||
|
sudo docker-compose pull
|
||||||
|
sudo docker-compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Browse to http://localhost:3001 after starting.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 💪🏻 Non-Docker
|
### 💪🏻 Non-Docker
|
||||||
|
|
||||||
Required Tools: Node.js >= 14, git and pm2.
|
Required Tools: Node.js >= 14, git and pm2.
|
||||||
|
|
Loading…
Add table
Reference in a new issue