mirror of
https://github.com/netbirdio/docs.git
synced 2026-05-03 07:46:35 +00:00
Update healthcheck command from capi to lapi (#707)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user