Devin
78e1ff5dc8
fix(scripts): require DB_PASSWORD env var in setup-database.sh
...
PR #3 scrubbed ***REDACTED-LEGACY-PW*** from every env file, compose unit, and
deployment doc but missed scripts/setup-database.sh, which still hard-
coded DB_PASSWORD="***REDACTED-LEGACY-PW***" on line 17. That slipped past
gitleaks because the shell-escaped form (backslash-dollar) does not
match the L@kers?\$?2010 regex committed in .gitleaks.toml -- the
regex was written to catch the *expanded* form, not the source form.
This commit removes the hardcoded default and requires DB_PASSWORD to
be exported by the operator before running the script. Same pattern as
the rest of the PR #3 conversion (fail-fast at boot when a required
secret is unset) so there is no longer any legitimate reason for the
password string to live in the repo.
Verification:
git grep -nE 'L@kers?\\?\$?2010' -- scripts/ # no matches
bash -n scripts/setup-database.sh # clean
2026-04-18 20:01:46 +00:00
..
2026-02-10 11:32:49 -08:00
2026-03-28 15:18:49 -07:00
2026-02-10 11:32:49 -08:00
2026-04-18 19:02:27 +00:00
2026-03-02 12:14:13 -08:00
2026-02-11 12:44:05 -08:00
2026-03-02 12:14:13 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-03-27 22:10:38 -07:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-04-18 19:02:27 +00:00
2026-04-18 19:02:27 +00:00
2026-02-10 11:32:49 -08:00
2026-03-27 22:10:38 -07:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-04-18 19:02:27 +00:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-03-27 22:10:38 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-03-27 22:10:38 -07:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-03-27 22:10:38 -07:00
2026-03-27 22:09:32 -07:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-03-27 22:09:32 -07:00
2026-04-10 12:52:17 -07:00
2026-03-27 22:09:32 -07:00
2026-04-12 06:33:54 -07:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-04-12 06:33:54 -07:00
2026-02-10 11:32:49 -08:00
2026-03-27 22:10:38 -07:00
2026-04-12 06:33:54 -07:00
2026-03-02 12:14:13 -08:00
2026-04-10 12:52:17 -07:00
2026-03-27 22:10:38 -07:00
2026-02-10 11:32:49 -08:00
2026-04-12 06:33:54 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-04-10 12:52:17 -07:00
2026-04-18 19:26:34 +00:00
2026-04-18 19:26:34 +00:00
2026-04-10 12:52:17 -07:00
2026-02-10 11:32:49 -08:00
2026-04-18 19:02:27 +00:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-12 06:33:54 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-03-27 22:10:38 -07:00
2026-02-10 11:32:49 -08:00
2026-03-02 12:14:13 -08:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-03-02 12:14:13 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-03-27 22:10:38 -07:00
2026-04-07 23:22:12 -07:00
2026-03-27 22:10:38 -07:00
2026-03-27 22:10:38 -07:00
2026-04-10 12:52:17 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-10 12:52:17 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-03-27 22:10:38 -07:00
2026-02-10 11:32:49 -08:00
2026-04-18 19:02:27 +00:00
2026-04-18 19:02:27 +00:00
2026-03-27 22:10:38 -07:00
2026-04-18 20:01:46 +00:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-10 12:52:17 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-03-27 22:09:32 -07:00
2026-03-27 22:09:32 -07:00
2026-04-07 23:22:12 -07:00
2026-03-27 22:11:50 -07:00
2025-12-23 16:19:10 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-10 12:52:17 -07:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00
2026-04-07 23:22:12 -07:00
2026-02-10 11:32:49 -08:00
2026-04-10 12:52:17 -07:00
2026-03-27 22:11:50 -07:00
2026-02-10 11:32:49 -08:00
2026-04-07 23:22:12 -07:00