cleanup
This commit is contained in:
@@ -30,6 +30,5 @@ COPY --from=build-stage /app/cs-custom-bouncer/config/crowdsec-custom-bouncer.ya
|
|||||||
/crowdsec-custom-bouncer.yaml
|
/crowdsec-custom-bouncer.yaml
|
||||||
ADD --chmod=770 bouncer.sh /bouncer.sh
|
ADD --chmod=770 bouncer.sh /bouncer.sh
|
||||||
ENV BINARY_PATH=/bouncer.sh
|
ENV BINARY_PATH=/bouncer.sh
|
||||||
#prometheus port
|
|
||||||
LABEL me.ar2000.gitea.buildargs.iptablesmode="${IPTABLES_MODE}"
|
LABEL me.ar2000.gitea.buildargs.iptablesmode="${IPTABLES_MODE}"
|
||||||
CMD ["/usr/bin/crowdsec-custom-bouncer", "-c", "/crowdsec-custom-bouncer.yaml"]
|
CMD ["/usr/bin/crowdsec-custom-bouncer", "-c", "/crowdsec-custom-bouncer.yaml"]
|
||||||
|
@@ -48,5 +48,5 @@ elif [ "$1" = "del" ]; then #del
|
|||||||
ip6tableDel "$2"
|
ip6tableDel "$2"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo "unknon action"
|
echo "unknown action"
|
||||||
fi
|
fi
|
Reference in New Issue
Block a user