Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 1.17 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.17 KB

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