This interface looks awesome and I would love to use it but I don’t use pangolin.
I am using Traefik + crowdsec plugin + crowdsec lapi (docker instance) + a couple crowdsec child processors (docker instances doing logs only). Could I still use this?
you can but the container will cry that it is missing pangolin, and you are willing to ignore it. few other features might not be available-like update etc.
you will have manage file paths.
I’d be also really interested in this, I’m coming from the selfh.st newsletter and this sounds really awesome, though I’m running zoraxy as my reverse proxy.
few other features might not be available-like update etc.
Can you explain this a bit more. I’d really like to spin up the crowdsec_manager, but really don’t want to start inadvertently hosing my system by introducing Pangolin. i have no current need for it and wouldn’t otherwise install it.
Thanks for putting this together. I hope I can sort out a way to use it.
@CrazyWolf13 just off topic, one the mods from your subreddit marked my content as advertised. The audience says to link old posts and projects related to traefik so I linked , I don’t they downvote .. I have removed all my content from your subreddit. I have never taken a single donation or penny from anyone. Nor projects nor users . I have also left the community.
People post so many useless things and everything slides and real people who serve are treated like this .. sad …
Anyways we have removed all the contents from their subreddit. We will have our own newsletter. We will test and vet open-source software and send it monthly to all users and subscribers to our forum. 4000 are enough.
Please do subscribe and create an account on our forum.
services:
tailscale:
image: tailscale/tailscale:latest
container_name: tailscale-crowdsec
hostname: crowdsec-manager-ts # The name that will appear in your Tailscale admin panel
environment:
- TS_AUTHKEY=
- TS_STATE_DIR=/var/lib/tailscale
volumes:
- tailscale-data:/var/lib/tailscale
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
ports:
- "8080:8080"
networks:
pangolin:
aliases:
- crowdsec-manager # Ensures other containers on the network can still reach it by its original name!
restart: unless-stopped
crowdsec-manager:
image: hhftechnology/crowdsec-manager:independent
container_name: crowdsec-manager-independent
network_mode: service:tailscale # This is the magic: it merges networking with the Tailscale container
depends_on:
- tailscale
restart: unless-stopped
# 'expose' and 'networks' are removed here because Tailscale manages the network connection now
environment:
- PORT=8080
- ENVIRONMENT=production
- CONFIG_DIR=/app/config
- DATABASE_PATH=/app/data/settings.db
- INCLUDE_CROWDSEC=true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config:/app/config
- ./logs/app:/app/logs
- ./data:/app/data
networks:
pangolin:
external: true
volumes:
tailscale-data:
Thank you for the effort on getting this working! It took me awhile to figure out it needed docker api access and specifically looks for a container named crowdsec.
@FoxxMD i am working on detailed docs and videos so there will less pain to deploy. now for next two months that’s the task. no new features. mobile app was a constant request from my forum users.