1
0
Fork 0
fahrPool/scripts
Jonny a8ca6445cb fix: add reproducible render step for kong.yml and 99-roles.sql templates
generate-secrets.js only printed the four secret env vars; nothing rendered
volumes/db/init/99-roles.sql or volumes/api/kong.yml from their committed
.template files, so a fresh clone following the brief's own setup steps
would hit the auth/rest/storage crash-loops and Kong 401s already
diagnosed during the original task.

Add scripts/render-templates.js, which reads .env and writes both rendered
files with the real secrets substituted in. Document the full sequence
(generate secrets -> fill .env -> render templates -> docker compose up)
in the header comments of generate-secrets.js and .env.example.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-04 15:24:49 +02:00
..
generate-secrets.js fix: add reproducible render step for kong.yml and 99-roles.sql templates 2026-07-04 15:24:49 +02:00
render-templates.js fix: add reproducible render step for kong.yml and 99-roles.sql templates 2026-07-04 15:24:49 +02:00