Service Configuration
- SQLALCHEMY_DATABASE_URI
The database URI that should be used for the database connection. Defaults to
'postgresql://postgres:postgres@localhost:5432/bdc'.
- SQLALCHEMY_TRACK_MODIFICATIONS
Enable (True) or disable (False) signals before and after changes are committed to the database. Defaults to
False.
- SQLALCHEMY_ECHO
Enables or disable debug output of statements to
stderr. Defaults toFalse.
- SQLALCHEMY_ENGINE_OPTIONS
Set SQLAlchemy engine options for pooling and recycle. You may set the following environment variables to customize pooling:
SQLALCHEMY_ENGINE_POOL_SIZE: The pool size. Defaults to5.SQLALCHEMY_ENGINE_MAX_OVERFLOW: Max pool overflow. Defaults to10.SQLALCHEMY_ENGINE_POOL_CLASS: The pool type for management. Defaults to10.SQLALCHEMY_ENGINE_POOL_RECYCLE: Define the given number of seconds to recycle pool. Defaults to-1, or no timeout.
- BDC_STAC_BASE_URL
The base URI of the service. Defaults to
'http://localhost:5000'.This value is ignored if
X-Stac-Urlis present inrequest.headers.
- BDC_STAC_FILE_ROOT
The prefix for image
assets. Defaults to'http://localhost:5001'.This value is ignored if
X-Script-Nameis present inrequest.headers.
- BDC_STAC_MAX_LIMIT
The limit of items returned in a query. Defaults to
1000(an integer value).
- BDC_AUTH_CLIENT_ID
Client ID generated by BDC-Auth. Defaults to
None, that means only public collections will be returned.
- BDC_AUTH_CLIENT_SECRET
Client secret generated by BDC-Auth. Defaults to
None, that means only public collections will be returned.
- BDC_AUTH_ACCESS_TOKEN_URL
Access token url used for retrieving user info in BDC-Auth. Defaults to
None, that means only public collections will be returned.
- BDC_STAC_USE_FOOTPRINT
Flag to set if Item intersection should use
Item.footprint. Defaults to0, which means to useItem.bbox.