28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
$BITNAMI_APP_NAME cheatsheet:
|
|
|
|
ENVIRONMENT VARIABLES:
|
|
MONGODB_USER: User to be created on first boot (default: root).
|
|
MONGODB_PASSWORD: Password to be set for MONGODB_USER on first boot (default: none).
|
|
MONGODB_DATABASE: Database to be created on first boot, accessible by MONGODB_USER (default: none).
|
|
|
|
VOLUMES:
|
|
$BITNAMI_APP_VOL_PREFIX/data: Location of $BITNAMI_APP_NAME data files.
|
|
$BITNAMI_APP_VOL_PREFIX/conf: Location of mongodb.conf ($BITNAMI_APP_NAME config file).
|
|
$BITNAMI_APP_VOL_PREFIX/logs: Location of mongodb.log.
|
|
|
|
PORTS:
|
|
27017: Default $BITNAMI_APP_NAME port.
|
|
|
|
MISC:
|
|
Options: You can add extra options during the docker run using the -- prefix.
|
|
Note: MONGODB_USER works in conjunction with MONGODB_DATABASE environment variable.
|
|
Tip: Back up the $BITNAMI_APP_VOL_PREFIX/data and $BITNAMI_APP_VOL_PREFIX/conf directories regularly.
|
|
|
|
COMMANDS:
|
|
print-help: Print this page.
|
|
check-updates: Check if a new version of the $BITNAMI_APP_NAME image is available.
|
|
|
|
Visit $GITHUB_PAGE for more information.
|
|
|
|
|