Add docker-compose to README

This commit is contained in:
Joppe Koers 2022-12-06 18:44:16 +01:00
parent f3660a0cec
commit f8c7da7995

View file

@ -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