Skip to content

Looks like prod.env is not read #1333

@SharkMachine

Description

@SharkMachine

I followed your guide at https://docs.bracketapp.nl/docs/running-bracket/configuration/ but it seems it isn't reading prod.env at all.

When I try to login, it gives me internal server error and I can see the following error in Firefox

Image

The logs tell me the folowing

bracket-backend   | pydantic_core._pydantic_core.ValidationError: 1 validation error for ProductionConfig
bracket-backend   | jwt_secret
bracket-backend   |   Field required [type=missing, input_value={'cors_origins': 'http://...tgres:5432/bracket_dev'}, input_type=dict]
bracket-backend   |     For further information visit https://errors.pydantic.dev/2.11/v/missing

Could I get some help with this? CORS_ORIGINS is set in prod.env.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions