From 0bb17cd2f34918add1ddaedeb0a66531dea561a3 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 7 Sep 2025 17:32:13 +0200 Subject: go-away: use config.yml and vendor all configuration files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- bundles/go-away/files/go-away.run | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'bundles/go-away/files/go-away.run') diff --git a/bundles/go-away/files/go-away.run b/bundles/go-away/files/go-away.run index 376fbb2..5e4384e 100755 --- a/bundles/go-away/files/go-away.run +++ b/bundles/go-away/files/go-away.run @@ -3,16 +3,12 @@ set -eux cd /var/lib/go-away || exit 1 -test -d examples -test -d examples/snippets -test -f examples/generic.yml +test -d config/ +test -f config/config.yml +test -f config/policy.yml +test -d config/snippets/ exec ./go-away \ - --bind 0.0.0.0:${node.metadata.get("go-away/port")} \ - --backend gzr.im="http://${node.metadata.get("container_gateway", "10.89.0.1")}:${node.metadata.get("www/gzr-im/port")}" \ - --backend gnzler.de="http://${node.metadata.get("container_gateway", "10.89.0.1")}:${node.metadata.get("www/gzr-im/port")}" \ - --backend gnzler.io="http://${node.metadata.get("container_gateway", "10.89.0.1")}:${node.metadata.get("www/gzr-im/port")}" \ - --backend gonca.me="http://${node.metadata.get("container_gateway","10.89.0.1")}:${node.metadata.get("www/gonca-me/port")}" \ - --policy examples/generic.yml \ - --policy-snippets examples/snippets/ \ - --challenge-template anubis + --config config/config.yml \ + --policy config/policy.yml \ + --policy-snippets config/snippets/ -- cgit 1.4.1