mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
Add docker-compose to README
This commit is contained in:
parent
f3660a0cec
commit
f8c7da7995
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -42,6 +42,20 @@ It is a temporary live demo, all data will be deleted after 10 minutes. Use the
|
|||
docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:1
|
||||
```
|
||||
|
||||
### 🐳 Docker Compose
|
||||
```yaml
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
uptime-kuma:
|
||||
image: louislam/uptime-kuma:1
|
||||
restart: always
|
||||
ports:
|
||||
- "3001:3001"
|
||||
volumes:
|
||||
- uptime-kuma:/app/data
|
||||
```
|
||||
|
||||
⚠️ Please use a **local volume** only. Other types such as NFS are not supported.
|
||||
|
||||
Kuma is now running on http://localhost:3001
|
||||
|
|
Loading…
Reference in a new issue