Skip to content

The one variable that keeps the old form says why - #576

Merged
WaylandYang merged 1 commit into
devfrom
docs/why-app-db-password-keeps-the-default
Sep 9, 2026
Merged

WaylandYang merged 1 commit into
devfrom
docs/why-app-db-password-keeps-the-default

Conversation

@WaylandYang

Copy link
Copy Markdown
Contributor

Follow-up to #572.

That change moved three variables from ${VAR:-} to the bare-key form, because the
empty string those produce was overriding defaults and killing the first step of the
README's quick start. UTOPIA_APP_DB_PASSWORD was correctly left alone: it is read
by docker/init-app-role.sh, which tests [ -z ], so empty and unset already mean
the same thing there.

But the file now carries two shapes with nothing saying why, which is an invitation
for the next person to tidy it into one. This adds the reason next to the variable:
the difference is not style, it is who reads the value.

No behaviour change. docker compose --profile app config still resolves it to "".

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Signed-off-by: WaylandYang <wayland0916@gmail.com>
@WaylandYang
WaylandYang force-pushed the docs/why-app-db-password-keeps-the-default branch from b997ccb to 9765dc4 Compare September 9, 2026 23:02
@WaylandYang
WaylandYang merged commit 0c95565 into dev Sep 9, 2026
4 checks passed
@WaylandYang
WaylandYang deleted the docs/why-app-db-password-keeps-the-default branch September 9, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant