diff --git a/README.md b/README.md index 244bbddaa..dd91fee38 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,13 @@ It is a temporary live demo, all data will be deleted after 10 minutes. Sponsore ## 🔧 How to Install -### 🐳 Docker +### 🐳 Docker Compose ```bash -docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:2 +mkdir uptime-kuma +cd uptime-kuma +curl -o compose.yaml https://raw.githubusercontent.com/louislam/uptime-kuma/master/compose.yaml +docker compose up -d ``` Uptime Kuma is now running on . @@ -48,6 +51,14 @@ Uptime Kuma is now running on . > [!WARNING] > File Systems like **NFS** (Network File System) are **NOT** supported. Please map to a local directory or volume. +### 🐳 Docker Command + +```bash +docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma louislam/uptime-kuma:2 +``` + +Uptime Kuma is now running on . + > [!NOTE] > If you want to limit exposure to localhost (without exposing port for other users or to use a [reverse proxy](https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy)), you can expose the port like this: >