Skip to content

Commit

Permalink
mention stop timeout for aws-waf-bouncer in docker (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
blotus authored Nov 3, 2024
1 parent f20bbaa commit a7db8dd
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion crowdsec-docs/unversioned/bouncers/aws-waf.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,20 @@ sudo yum install crowdsec-aws-waf-bouncer
### Docker

```shell
docker run -v $(PWD)/config.yaml:/cs-aws-waf-bouncer.yaml crowdsecurity/aws-waf-bouncer
docker run -e BOUNCER_CONFIG_FILE=/cs-aws-waf-bouncer.yaml -v $(PWD)/config.yaml:/cs-aws-waf-bouncer.yaml crowdsecurity/aws-waf-bouncer
```

:::info

The remediation component can take some time to delete all created resources on shutdown.

The default docker timeout of 10s before sending a `SIGKILL` to the process might not always been enough.

You can increase it by specifying `--stop-timeout` in your `run` command or by setting `stop_grace_period` when using compose.

:::


## Configuration Reference

You will need to edit `/etc/crowdsec/bouncers/crowdsec-aws-waf-bouncer.yaml` to configure the ACLs you want the component to use.
Expand Down

0 comments on commit a7db8dd

Please sign in to comment.