Installation Guide: Docker - mongodb/mlab-data-api GitHub Wiki
docker pull quay.io/mongodb/mlab-data-api
See Configuration
docker run -e MLAB_DATA_API_CONFIG=/mlab-data-api/<CONFIG> -e MLAB_DATA_API_KEY=<KEY> --mount type=bind,source=<CONFIG_DIR>,target=/mlab-data-api -p 127.0.0.1:<HOST_PORT>:<CONTAINER_PORT> quay.io/mongodb/mlab-data-api
-
<CONFIG>
: Name of the config file -
<KEY>
: API key -
<CONFIG_DIR>
: Directory of config file -
<HOST_PORT>
: Port to expose on the host -
<CONTAINER_PORT>
: Port specified in<CONFIG>