This is an MongoDB Docker image used to launch a MongoDB service on Nanobox. To use this image, add a data component to your boxfile.yml with the nanobox/mongodb image specified:
data.db:
image: nanobox/mongodb:3.0MongoDB components are configured in your boxfile.yml. All available configuration options are outlined below.
version
objcheck
log_verbosity
directoryperdb
logappend
nojournal
noscripting
data.db:
image: nanobox/mongodb:3.0
config:
objcheck: true
log_verbosity: 'v'
directoryperdb: true
logappend: true
nojournal: false
noscripting: falseWhen configuring a MongoDB service in your Boxfile, you can specify the version to use. The following version(s) are available:
- 2.6
- 3.0
- 3.2
- 3.4
Note: Due to version compatibility constraints, MongoDB versions cannot be changed after the service is created. To use a different version, you'll have to create a new MongoDB service and manually migrate data.
# default setting
data.db:
image: nanobox/mongodb:3.0View the MongoDB documentation for details and configuration options.
#default setting
data.db:
image: nanobox/mongodb
config:
objcheck: trueView the MongoDB documentation for details and configuration options.
data.db:
image: nanobox/mongodb
config:
log_verbosity: 'v'View the MongoDB documentation for details and configuration options.
#default setting
data.db:
image: nanobox/mongodb
config:
directoryperdb: trueView the MongoDB documentation for details and configuration options.
#default setting
data.db:
image: nanobox/mongodb
config:
logappend: trueView the MongoDB documentation for details and configuration options.
#default setting
data.db:
image: nanobox/mongodb
config:
nojournal: falseView the MongoDB documentation for details and configuration options.
#default setting
data.db:
image: nanobox/mongodb
config:
noscripting: falseThis is a MongoDB Docker image provided by Nanobox. If you need help with this image, you can reach out to us in the #nanobox IRC channel. If you are running into an issue with the image, feel free to create a new issue on this project.
Mozilla Public License, version 2.0