Environment Variables and settings
The authoritative information can be found in the project readme.md file at GitHub - openlibraryenvironment/dcb-service: A Direct Consortial Borrowing Service for ReShare Libraries but some info is reproduced here for completeness.
ENV | Description | Example |
---|---|---|
DCB_ITEMRESOLVER_CODE | Identify the default resolution strategy for selecting items. Currently Geo. Geo only works when Agencies and Locations are configured with latitude and longitude fields. Items with missing geo data will ranked last when this strategt is selected | FirstItem |
R2DBC_DATASOURCES_DEFAULT_URL | R2DBC Connect URL | r2dbc:postgresql://localhost:5432/dcb |
R2DBC_DATASOURCES_DEFAULT_USERNAME | R2DBC Username | dcb |
R2DBC_DATASOURCES_DEFAULT_PASSWORD | R2DBC Password | dcb |
DATASOURCES_DEFAULT_URL | JDBC Connect URL | jdbc:postgresql://localhost:5432/dcb |
DATASOURCES_DEFAULT_USERNAME | JDBC Username | dcb |
DATASOURCES_DEFAULT_PASSWORD | JDBC Password | dcb |
KEYCLOAK_CERT_URL | The URL used for validating JWTs | https://reshare-hub-kc.libsdev.k-int.com/realms/reshare-hub/protocol/openid-connect/certs |
MICRONAUT_HTTP_CLIENT_READ_TIMEOUT | Default HTTP Client Timeout | PT1M |
MICRONAUT_HTTP_CLIENT_MAX_CONTENT_LENGTH | Max content length | 20971520 |
DCB_SHEDULED_TASKS_ENABLED | perform scheduled tasks | true |
REACTOR_DEBUG | DEVELOPMENT FLAG! set to the string "true" to enable reactor annotated stack trace | true |
POD_NAME | In K8S environments, set to http://metadata.name (And decide if you want deployments or statefulsets). Elsewhere set this to the name you want to appear by this instance of DCB for stats logging. Be aware that multiple instances may be running for load balancing | INGEST-DCB-0001 |
Operated as a Community Resource by the Open Library Foundation