Update healthcheck command from capi to lapi (#707)

This commit is contained in:
blotus
2026-04-20 18:47:38 +02:00
committed by GitHub
parent fc88effba3
commit 3d30f33a29

View File

@@ -279,7 +279,7 @@ Add the following service to your `docker-compose.yml`:
- ./crowdsec:/etc/crowdsec
- crowdsec_db:/var/lib/crowdsec/data
healthcheck:
test: ["CMD", "cscli", "capi", "status"]
test: ["CMD", "cscli", "lapi", "status"]
interval: 10s
timeout: 5s
retries: 15
@@ -313,7 +313,7 @@ docker compose up -d crowdsec
Wait for the container to become healthy:
```bash
docker compose exec crowdsec cscli capi status
docker compose exec crowdsec cscli lapi status
```
Then register a bouncer: