Sign inSign up

webhippie/mongodb

By webhippie

Updated 3 days ago

Docker images for MongoDB

Image
13

500K+

webhippie/mongodb repository overview

mongodb

Docker Build GitHub Repo

These are docker images for MongoDB running on our Ubuntu image.

Versions

For the available versions please look at Docker Hub or Quay or check the existing folders within the GitHub repository.

Volumes

  • /var/lib/mongodb
  • /var/lib/backup

Ports

  • 27017
  • 27018
  • 27019

Available environment variables

MONGODB_AUTH = false
MONGODB_AUTH_DB = admin
MONGODB_AWS_IAM_SESSION_TOKEN =
MONGODB_BACKUP_IGNORE = (admin|config|local)
MONGODB_BACKUP_PATH = /var/lib/backup
MONGODB_BACKUP_RETENTION = 14
MONGODB_CLUSTER_AUTH_MODE =
MONGODB_CLUSTER_IP_SOURCE_WHITELIST =
MONGODB_CONFIG =
MONGODB_CONFIG_EXPAND =
MONGODB_CONFIGSVR = false
MONGODB_CPU = false
MONGODB_DATABASE =
MONGODB_DBPATH = /var/lib/mongodb
MONGODB_DIRECTORYPERDB = false
MONGODB_ENABLE_MAJORITY_READ_CONCERN = false
MONGODB_IPV6 = false
MONGODB_JOURNAL_COMMIT_INTERVAL =
MONGODB_KEY_FILE =
MONGODB_LISTEN_BACKLOG =
MONGODB_LOGAPPEND = false
MONGODB_LOGPATH =
MONGODB_LOGROTATE =
MONGODB_MAX_CONNS =
MONGODB_NETWORK_MESSAGE_COMPRESSORS =
MONGODB_NO_INDEX_BUILD_RETRY = false
MONGODB_NOAUTH = false
MONGODB_NOJOURNAL = false
MONGODB_NOSCRIPTING = false
MONGODB_NOTABLESCAN = false
MONGODB_OPLOG_MIN_RETENTION_HOURS =
MONGODB_OPLOG_SIZE =
MONGODB_PASSWORD =
MONGODB_PERFORM_REPAIR = false
MONGODB_PERFORM_UPGRADE = true
MONGODB_PROFILE =
MONGODB_PROFILE_FILTER =
MONGODB_QUIET = false
MONGODB_REMOVE_LOCK = true
MONGODB_REPL_SET =
MONGODB_ROOT_PASSWORD =
MONGODB_ROOT_USERNAME =
MONGODB_SET_PARAMETER =
MONGODB_SHARDSVR = false
MONGODB_SKIP_CHOWN = false
MONGODB_SLOW_OP_SAMPLE_RATE =
MONGODB_SLOWMS =
MONGODB_SSL_ALLOW_CONNECTIONS_WITHOUT_CERTIFICATES = false
MONGODB_SSL_ALLOW_INVALID_CERTIFICATES = false
MONGODB_SSL_ALLOW_INVALID_HOSTNAMES = false
MONGODB_SSL_CA_FILE =
MONGODB_SSL_CERTIFICATE_KEY_FILE = ${MONGODB_SSL_PEM_KEY_FILE}
MONGODB_SSL_CERTIFICATE_KEY_FILE_PASSWORD = ${MONGODB_SSL_PEM_KEY_PASSWORD}
MONGODB_SSL_CLUSTER_CA_FILE =
MONGODB_SSL_CLUSTER_FILE =
MONGODB_SSL_CLUSTER_PASSWORD =
MONGODB_SSL_CRL_FILE =
MONGODB_SSL_DISABLED_PROTOCOLS =
MONGODB_SSL_FIPS_MODE = false
MONGODB_SSL_LOG_VERSIONS =
MONGODB_SSL_MODE =
MONGODB_SSL_ON_NORMAL_PORTS = false
MONGODB_STORAGE_ENGINE =
MONGODB_SYNCDELAY =
MONGODB_SYSINFO = false
MONGODB_SYSLOG = false
MONGODB_TIMESTAMP_FORMAT =
MONGODB_TIMEZONE_INFO =
MONGODB_TRANSITION_TO_AUTH = false
MONGODB_USERNAME =
MONGODB_VERBOSE = false
MONGODB_WIRED_TIGER_CACHE_SIZE =
MONGODB_WIRED_TIGER_COLLECTION_BLOCK_COMPRESSOR =
MONGODB_WIRED_TIGER_DIRECTORY_FOR_INDEXES =
MONGODB_WIRED_TIGER_INDEX_PREFIX_COMPRESSION =
MONGODB_WIRED_TIGER_JOURNAL_COMPRESSOR =
MONGODB_WIRED_TIGER_MAX_CACHE_OVERFLOW_FILESIZE =
MONGODB_ZSTD_DEFAULT_COMPRESSION_LEVEL =

Extracted by the command: grep -hE ': "\$\{(.*)\}"' latest/overlay/etc/entrypoint.d/*.sh | sed 's/: "\${//' | sed 's/:="/ = /' | sed 's/"}"$//' | sort | uniq

Inherited environment variables

Contributing

Generally we are following conventional commits when we apply changes. That way we are able to generate proper changelogs for every release. Please use always pull requests to integrate new functionalities or to fix issues.

For the release process we are following semantic versioning which clearly indicates if a new version just resolves bugs, includes new features or even includes breaking changes.

After installing the tools via mise install as described above set up the pre-commit hooks so they run automatically on every commit:

prek install --hook-type pre-commit --hook-type commit-msg

prek is managed by mise and will be available after mise install.

If you have changed something on the source you should simply commit following the mentioned conventions:

git checkout -b feat/new-feature
git add --all
git commit -m 'feat: added awesome new feature'
git push --set-upstream origin feat/new-feature

After pushing your changes into the Git repository you should create a pull request on GitHub. If the pull request have been merged and everything built fine it will also create automatically a new release at least once a week.

Authors

License

MIT

Copyright (c) 2015 Thomas Boerger <http://www.webhippie.de>

Tag summary

Content type

Image

Digest

sha256:0f97b82ba

Size

339.4 MB

Last updated

3 days ago

docker pull webhippie/mongodb