Add docker-compose to README

pull/2372/head
Joppe Koers 1 year ago
parent f3660a0cec
commit f8c7da7995

@ -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…
Cancel
Save