CrowdSec Manager for Pangolin: User Guide

EDIT:

I got it running, Instead of the manual page I copied the part from quick start on the Github page as an additional container to the docker-compose.yml created by the Pangolin installer. Removed the last line, that probably was supposed to be the next step to start the stack.

I edited the paths under Volume to the actual path of the Pangolin config dir and docker.compose.yml Pangolin now installs to /opt/pangolin and places the docker-compose.yml there. I also had to add a segment with Ports: 8080:8080 to actually expose the web interface outside of the docker container.

To install Crowdsec with the Pangolin installer you now have to add -crowdsec as an argument when starting the installer. You will not be asked by default anymore.

Original Post:

Ok I actually had a look at the log files of the containers.

Gerbil fails because of:

You must provide either a config file or a remote config URL

Traefik because of

error="service \"pangolin-crowdsec-manager\" error: port is missing" container=pangolin-crowdsec-manager-85f10b6ff10749a0a2f2fab47035c05e89a17b07eac46d8b7b58ef74082ad515 providerName=docker

and Pangolin because of

Error: No configuration file found. Please create one. https://docs.pangolin.net/self-host/advanced/config-file
    at readConfigFile (/app/server/lib/readConfigFile.ts:465:15)
    at new Config (/app/server/lib/config.ts:20:29)
    at server/lib/config.ts (/app/server/lib/config.ts:234:23)
    at __init (file:///app/dist/server.mjs:20:56)
    at server/logger.ts (/app/server/logger.ts:2:1)
    at __init (file:///app/dist/server.mjs:20:56)
    at <anonymous> (/app/server/setup/ensureActions.ts:5:1)
    at ModuleJob.run (node:internal/modules/esm/module_job:437:25)
    at async node:internal/modules/esm/loader:639:26
    at async asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:101:5)

I think the blocks for those containers are just basic configs that miss a lot. Are we supposed to take them from elsewhere?