diff options
Diffstat (limited to 'bundles/go-away/files/go-away.run')
| -rwxr-xr-x | bundles/go-away/files/go-away.run | 18 |
1 files changed, 7 insertions, 11 deletions
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/ |