Rewrite README and finalize template flow

This commit is contained in:
2025-11-13 01:53:26 +08:00
parent 56055187f8
commit d436ed1cf4
4 changed files with 55 additions and 85 deletions

View File

@@ -15,5 +15,5 @@ if ! command -v envsubst >/dev/null 2>&1; then
echo "envsubst is required to render templates." >&2
exit 1
fi
envsubst < dynamic.d/middlewares/crowdsec.yml.tmpl > dynamic.d/middlewares/crowdsec.yml
envsubst < templates/crowdsec.yml.tmpl > dynamic.d/middlewares/crowdsec.yml
echo "Rendered dynamic.d/middlewares/crowdsec.yml"