From 45a3644fb8cc6ffcd0ab170848ce30809b00c9d2 Mon Sep 17 00:00:00 2001 From: AR2000 Date: Sun, 10 Nov 2024 14:27:21 +0100 Subject: [PATCH] add `bin_path: /bouncer.sh` to the static config --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4ab59f0..8bd85a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,6 +27,7 @@ COPY --from=build-stage /app/cs-custom-bouncer/crowdsec-custom-bouncer \ COPY --from=build-stage /app/cs-custom-bouncer/config/crowdsec-custom-bouncer.yaml \ /crowdsec-custom-bouncer.yaml ADD --chmod=770 bouncer.sh /bouncer.sh +RUN echo "bin_path: /bouncer.sh" >> /crowdsec-custom-bouncer.yaml #prometheus port LABEL me.ar2000.gitea.buildargs.iptablesmode="${IPTABLES_MODE}" CMD ["/usr/bin/crowdsec-custom-bouncer", "-c", "/crowdsec-custom-bouncer.yaml"]