From e7ad3d88ae8311550faa53e4b333c0b57d5b68df Mon Sep 17 00:00:00 2001 From: Laurence Jones Date: Mon, 16 Oct 2023 10:08:41 +0100 Subject: [PATCH] Clear up some community confusion (#2543) --- docker/README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docker/README.md b/docker/README.md index e1c7b517e..4d1182fa4 100644 --- a/docker/README.md +++ b/docker/README.md @@ -19,11 +19,7 @@ All the following images are available on Docker Hub for the architectures - `crowdsecurity/crowdsec:{version}` -Recommended for production usage. Also available on GitHub (ghcr.io). - - - `crowdsecurity/crowdsec:dev` - -The latest stable release. +Latest stable release recommended for production usage. Also available on GitHub (ghcr.io). - `crowdsecurity/crowdsec:dev` @@ -190,6 +186,14 @@ It is not recommended anymore to bind-mount the full config.yaml file and you sh If you want to use the [notification system](https://docs.crowdsec.net/docs/notification_plugins/intro), you have to use the full image (not slim) and mount at least a custom `profiles.yaml` and a notification configuration to `/etc/crowdsec/notifications` +```shell +docker run -d \ + -v ./profiles.yaml:/etc/crowdsec/profiles.yaml \ + -v ./http_notification.yaml:/etc/crowdsec/notifications/http_notification.yaml \ + -p 8080:8080 -p 6060:6060 \ + --name crowdsec crowdsecurity/crowdsec +``` + # Deployment use cases Crowdsec is composed of an `agent` that parses logs and creates `alerts`, and a