included information on just pulling individual app files
This commit is contained in:
@@ -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 <AppName>
|
||||
|
||||
# 3. Copy and fill in the environment file, then deploy
|
||||
cd <AppName>
|
||||
cp .env.example .env
|
||||
# Edit .env and fill in your values
|
||||
|
||||
Reference in New Issue
Block a user