From f8c7da7995528c453335a8f6814e81bdea8e17ac Mon Sep 17 00:00:00 2001 From: Joppe Koers Date: Tue, 6 Dec 2022 18:44:16 +0100 Subject: [PATCH] Add docker-compose to README --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 90c8ad75..6d10cf2a 100644 --- a/README.md +++ b/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