Public | Automated Build

Last pushed: 2 years ago
Short Description
Extension of official mongodb image that allows you to map the user and group IDs
Full Description

triply/mongodb:3.2.0-1

DEPRECATED: this image is not supported any longer

Introduction

Dockerfile to build a MongoDB container image, based on the official MongoDB docker image.
This image however does not properly map the user and group ID of the mongodb user, to the user and group ID on the host. As a result, files in shared volumes will be inaccessible by the host user.

Quick start

The quickest way to get started is using docker-compose.

wget https://raw.githubusercontent.com/OpenTriply/docker-mongodb/3.2.0-1/docker-compose.yml

Start MongoDB using

docker-compose up

Available Configuration Parameters

In addition to the official image, this image provides these environment variables

  • DEBUG: Set this to true to enable entrypoint debugging.
  • USERMAP_UID: Sets the user ID for user mongodb to the specified user ID. Defaults to 1000.
  • USERMAP_GID: Sets the group ID for user mongodb to the specified group ID. Defaults to 1000.
Docker Pull Command
Owner
triply
Source Repository