Skip to content


MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. MongoDB is a document database, which means it stores data in JSON-like documents.

Lagoon MongoDB image Dockerfile. Based on the official package mongodb provided by the alpine:3.8 image.

This Dockerfile is intended to be used to set up a standalone MongoDB database server.

Lagoon & OpenShift adaptions#

This image is prepared to be used on Lagoon, which leverages OpenShift. There are therefore some things already done:

  • Folder permissions are automatically adapted with fix-permissions, so this image will work with a random user, and therefore also on OpenShift.