Skip to content

cannot load app module without setting Postgres environment variables #208

@hrodmn

Description

@hrodmn

There are some contexts in which it could be helpful to re-use things that are defined in stac_fastapi.pgstac.app (e.g. developmentseed/eoapi-cdk#128), but that is not currently possible unless you have the POSTGRES_* environment variables set.

Rather than failing so early it might be more useful to fail when the application attempts to connect to the database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions