added USERIDs, edited description
This commit is contained in:
parent
f6f314f1a6
commit
1c7b5324f3
|
@ -18,6 +18,7 @@ services:
|
||||||
- /var/log/crowdsec:/var/log/crowdsec:ro
|
- /var/log/crowdsec:/var/log/crowdsec:ro
|
||||||
environment:
|
environment:
|
||||||
- COLLECTIONS=crowdsecurity/linux crowdsecurity/traefik crowdsecurity/http-cve crowdsecurity/whitelist-good-actors crowdsecurity/sshd
|
- COLLECTIONS=crowdsecurity/linux crowdsecurity/traefik crowdsecurity/http-cve crowdsecurity/whitelist-good-actors crowdsecurity/sshd
|
||||||
|
- GID=${GID-1000}
|
||||||
networks:
|
networks:
|
||||||
- tipi_main_network
|
- tipi_main_network
|
||||||
|
|
||||||
|
@ -45,6 +46,7 @@ services:
|
||||||
- ${APP_PORT}:3000
|
- ${APP_PORT}:3000
|
||||||
environment:
|
environment:
|
||||||
- MB_DB_FILE=/data/metabase.db
|
- MB_DB_FILE=/data/metabase.db
|
||||||
|
- MGID=${GID-1000}
|
||||||
depends_on:
|
depends_on:
|
||||||
- crowdsec
|
- crowdsec
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -34,6 +34,24 @@ Please keep this key since you will not be able to retrieve it!
|
||||||
|
|
||||||
to get the Bouncer API Key. Use this Key in the settings of the app instead of dummy Bouncer API Key and restart the app.
|
to get the Bouncer API Key. Use this Key in the settings of the app instead of dummy Bouncer API Key and restart the app.
|
||||||
|
|
||||||
|
check for metrics with:
|
||||||
|
|
||||||
|
## Check Metrics
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker exec crowdsec cscli metrics
|
||||||
|
```
|
||||||
|
|
||||||
|
## Integrate in crowdsec Console
|
||||||
|
|
||||||
|
https://app.crowdsec.net/security-engines
|
||||||
|
|
||||||
|
With the key from the command line execute:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker exec crowdsec cscli console enroll cls3dg01i1000ju08fh24oj6j
|
||||||
|
```
|
||||||
|
|
||||||
## Traefik Integration
|
## Traefik Integration
|
||||||
|
|
||||||
add the following files and / or settings:
|
add the following files and / or settings:
|
||||||
|
@ -55,6 +73,13 @@ add the following files and / or settings:
|
||||||
http:
|
http:
|
||||||
middlewares:
|
middlewares:
|
||||||
- crowdsec-bouncer@file
|
- crowdsec-bouncer@file
|
||||||
|
log:
|
||||||
|
filePath: "/var/log/traefik.log"
|
||||||
|
level: INFO
|
||||||
|
|
||||||
|
accessLog:
|
||||||
|
filePath: "/var/log/access.log"
|
||||||
|
bufferingSize: 100
|
||||||
```
|
```
|
||||||
|
|
||||||
- dynamic.yml
|
- dynamic.yml
|
||||||
|
|
Loading…
Reference in New Issue
Block a user