mirror of
https://github.com/netbirdio/docs.git
synced 2026-10-10 07:39:05 +02: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:/etc/crowdsec
|
||||||
- crowdsec_db:/var/lib/crowdsec/data
|
- crowdsec_db:/var/lib/crowdsec/data
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "cscli", "capi", "status"]
|
test: ["CMD", "cscli", "lapi", "status"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 15
|
retries: 15
|
||||||
@@ -313,7 +313,7 @@ docker compose up -d crowdsec
|
|||||||
Wait for the container to become healthy:
|
Wait for the container to become healthy:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker compose exec crowdsec cscli capi status
|
docker compose exec crowdsec cscli lapi status
|
||||||
```
|
```
|
||||||
|
|
||||||
Then register a bouncer:
|
Then register a bouncer:
|
||||||
|
|||||||
Reference in New Issue
Block a user