Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readd Crowdsec Bouncer #8

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pipeline {
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('/', '-')}"
// Software versions; OpenResty does not support Lua >= 5.2
OPENRESTY_VERSION = '1.21.4.3'
CROWDSEC_OPENRESTY_BOUNCER_VERSION = '0.1.7'
CROWDSEC_OPENRESTY_BOUNCER_VERSION = '1.0.2'
LUA_VERSION = '5.1.5'
LUAROCKS_VERSION = '3.3.1'
}
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ RUN apt-get update \
&& apt-get install -y gcc make socat git \
&& /tmp/install-lua \
&& /tmp/install-openresty \
&& /tmp/install-crowdsec_openresty_bouncer \
&& apt-get remove -y make gcc git wget gettext \
&& apt-get autoremove -y \
&& apt-get clean \
Expand Down
2 changes: 1 addition & 1 deletion local-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ REGISTRY=${REGISTRY:-}
DOCKER_IMAGE="${REGISTRY}nginxproxymanager/nginx-full"

export OPENRESTY_VERSION=1.21.4.3
export CROWDSEC_OPENRESTY_BOUNCER_VERSION=0.1.7
export CROWDSEC_OPENRESTY_BOUNCER_VERSION=1.0.2
export LUA_VERSION=5.1.5
export LUAROCKS_VERSION=3.3.1

Expand Down
2 changes: 1 addition & 1 deletion local-buildx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DOCKER_IMAGE="${REGISTRY:-}nginxproxymanager/nginx-full"
PLATFORMS=linux/amd64,linux/arm64,linux/arm/7

export OPENRESTY_VERSION=1.21.4.3
export CROWDSEC_OPENRESTY_BOUNCER_VERSION=0.1.7
export CROWDSEC_OPENRESTY_BOUNCER_VERSION=1.0.2
export LUA_VERSION=5.1.5
export LUAROCKS_VERSION=3.3.1

Expand Down
2 changes: 1 addition & 1 deletion scripts/install-crowdsec_openresty_bouncer
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tar xzf crowdsec-openresty-bouncer.tgz --strip 1 -C /tmp/crowdsec
rm -rf /tmp/crowdsec-openresty-bouncer.tgz
cd /tmp/crowdsec

bash ./install.sh --NGINX_CONF_DIR=/etc/nginx/conf.d --LIB_PATH=/etc/nginx/lualib --CONFIG_PATH=/defaults/crowdsec --DATA_PATH=/defaults/crowdsec --docker
bash ./install.sh --NGINX_CONF_DIR=/etc/nginx/conf.d --LIB_PATH=/etc/nginx/lualib --CONFIG_PATH=/defaults/crowdsec --DATA_PATH=/defaults/crowdsec --SSL_CERTS_PATH=/etc/ssl/certs/GTS_Root_R1.pem --docker
sed -i 's|ENABLED=.*|ENABLED=false|' /defaults/crowdsec/crowdsec-openresty-bouncer.conf
rm -rf /tmp/crowdsec

Expand Down