This image provides a Rest API that allows for searching against the Network Rail CORPUS database.
PORT the port to listen to, defaults to 4000
MAXAGE the max age of the data before refreshing it
CREDENTIALS the credentials for accessing the source data
docker run -d -e CREDENTIALS='username:password' -p 4000:4000 -v volume:/opt/data area51/corpus
This will retrieve the current data and store it in a volume (or directory) and then start a webserver on port 4000.
Retrieve by the 3Alpha (or CRS) code: For example MDE
You can also perform lookups by stanox, nlc, ulc or tiploc using the same url format.