Added dependency of crowdsec to traefik and relaxed its health check #1593

Closed
opened 2026-04-05 19:36:23 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @TuncTaylan on 4/21/2025

Community Contribution License Agreement

By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.

Description

Add dependancy on crowdsec for traefik and more relaxed health check for crowdsec, to prevent zombie traefik bouncers when starting the stack up.

Otherwise there are always "loose" or duplicate traefik bouncer plugins (check the last api pull dates):

docker exec -it crowdsec cscli bouncers list
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
 Name                        IP Address  Valid  Last API pull         Type                             Version                                                                  Auth Type
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────���──────────────────────────────────────────
 traefik-bouncer             172.18.0.4  ✔️     2025-04-21T09:24:34Z  Crowdsec-Bouncer-Traefik-Plugin  1.X.X                                                                    api-key
 vps-firewall                172.18.0.1  ✔️     2025-04-21T09:32:16Z  crowdsec-firewall-bouncer        v0.0.31-debian-pragmatic-amd64-4b99c161b2c1837d76c5fa89e1df83803dfbcc87  api-key
 traefik-bouncer@172.18.0.3  172.18.0.3  ✔️     2025-04-18T20:43:20Z  Crowdsec-Bouncer-Traefik-Plugin  1.X.X                                                                    api-key
 traefik-bouncer@172.18.0.2  172.18.0.2  ✔️     2025-04-15T06:55:59Z  Crowdsec-Bouncer-Traefik-Plugin  1.X.X                                                                    api-key
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

How to test?

Just run the installer and do a docker-compose.yaml comparison.

*Originally created by @TuncTaylan on 4/21/2025* ## Community Contribution License Agreement By creating this pull request, I grant the project maintainers an unlimited, perpetual license to use, modify, and redistribute these contributions under any terms they choose, including both the AGPLv3 and the Fossorial Commercial license terms. I represent that I have the right to grant this license for all contributed content. ## Description Add dependancy on crowdsec for traefik and more relaxed health check for crowdsec, to prevent zombie traefik bouncers when starting the stack up. Otherwise there are always "loose" or duplicate traefik bouncer plugins (check the last api pull dates): ```bash docker exec -it crowdsec cscli bouncers list ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Name IP Address Valid Last API pull Type Version Auth Type ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────���────────────────────────────────────────── traefik-bouncer 172.18.0.4 ✔️ 2025-04-21T09:24:34Z Crowdsec-Bouncer-Traefik-Plugin 1.X.X api-key vps-firewall 172.18.0.1 ✔️ 2025-04-21T09:32:16Z crowdsec-firewall-bouncer v0.0.31-debian-pragmatic-amd64-4b99c161b2c1837d76c5fa89e1df83803dfbcc87 api-key traefik-bouncer@172.18.0.3 172.18.0.3 ✔️ 2025-04-18T20:43:20Z Crowdsec-Bouncer-Traefik-Plugin 1.X.X api-key traefik-bouncer@172.18.0.2 172.18.0.2 ✔️ 2025-04-15T06:55:59Z Crowdsec-Bouncer-Traefik-Plugin 1.X.X api-key ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ``` ## How to test? Just run the installer and do a docker-compose.yaml comparison.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#1593