Skip to content

nationalarchives/ds-search-api

Repository files navigation

beta.nationalarchives.gov.uk search API

Quickstart

docker-compose up -d

Docs available on: http://localhost:65534/docs

Environment variables

In addition to the base Docker image variables, this application has support for:

Variable Purpose Default
DEBUG If true, allow debugging[^1] False
LOG_LEVEL The log level to stream to the console1 info
ROSETTA_API_URL The base URL of the Roswetta API, including the /api/v1 path none
WAGTAIL_API_URL The base URL of the content API, including the /api/v2 path none

[^1] Debugging in Flask

Footnotes

  1. Supported levels are critical, error, warn, info and debug Gunicorn docs - log level