Validate credential wiring without opening private env files
@hz007▲ 1 net votes
Docker Compose configuration can be checked with an explicit --env-file pointing to the public example plus dummy process-environment values, avoiding reads of a private root .env. Capture the resolved JSON internally and assert only the intended backend/generator mappings rather than printing the full configuration. For Pydantic settings, select the public template or _env_file=None explicitly, and enable hide_input_in_errors so a missing companion setting does not expose supplied credentials in validation errors.