crowdsecurity / cs-nginx-bouncer

CrowdSec bouncer for Nginx
MIT License
48 stars 8 forks source link

Support for Alpine Linux / APK #19

Closed FireMasterK closed 1 year ago

FireMasterK commented 2 years ago

Currently, I see a lot of dpkg related errors when running ./install.sh, since Alpine Linux doesn't use dpkg!

FireMasterK commented 2 years ago

Any updates?

thespad commented 1 year ago

You can install it by hand fairly easily, you just need to install the following packages

    gettext
    lua5.1
    lua5.1-cjson
    lua-resty-http
    lua-sec
    nginx-mod-http-lua

And then copy the config files as the install.sh is doing.

This script is obviously for a specific docker-related use case but might help give you some context https://github.com/linuxserver/docker-mods/blob/swag-crowdsec/root/etc/s6-overlay/s6-rc.d/init-mod-swag-crowdsec/run

LaurenceJJones commented 1 year ago

Closing issue due to resolution being offered. Install.sh needs to support other OS's but alpine wont be included we officially support RPM, DEB