diff --git a/README.md b/README.md index 52e72b4..fafb1c2 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,18 @@ Each application lives in its own folder with a `docker-compose.yaml` file. You 3. Set any required environment variables and deploy **Docker Compose CLI** + +Clone only the app folder you need using a sparse checkout, then deploy: + ```bash +# 1. Clone the repo without checking out all files +git clone --filter=blob:none --sparse https://git.chns.tech/CHNS/Docker-Compose.git +cd Docker-Compose + +# 2. Pull down only the app folder you want (e.g. Uptime-Kuma) +git sparse-checkout set + +# 3. Copy and fill in the environment file, then deploy cd cp .env.example .env # Edit .env and fill in your values