Closed gkwan-ibm closed 4 years ago
The MongoDB configuration I doubt that using /etc (/etc/mongodb) is the practice
The mongo docker image docs (https://hub.docker.com/_/mongo) uses the /etc/mongo
folder to store the configuration file. i put the certs, data, and other files & folders in there too so they are all in one place.
Based on the mongodb docs, the folders they use are /var/log/mongodb/
for system log, /data/db/
for data, and /etc/ssl/
for certificates.
Do you prefer to put the files in a single folder for convenience, or follow what they are doing in docs?
@gkwan-ibm
/etc
should be used for configuration (and somewhere for logs
). I agree to use a single place to do all 3 config, log, and data, but not under /etc
.ST=$PROVINCE
<httpEndpoint/>
, <webApplication/>
,PasswordUtil.passwordEncode("openliberty", "aes");
not practical./securityUtility encode thePassword --encoding=aes
to generate the encoded passwordmove "Getting started" after "Setting up MongoDB"
cannot be moved after setting up mongodb
since user has to clone the repo in getting started
to get the the config file and setup script is inside the repo
move "Try what you’ll build" as a subsection under "Getting started"
cannot move try what you'll build
under getting started
since the user first needs to clone the repo in getting started
and then do the setting up mongodb
section before they can try it out
@jimmy1wu
username
and password
are set here. "password
does not hightlight the mongo.pass.encoded
propertyopenliberty
with the encoded password." openliberty
does not hightlight the mongo.pass.encoded
property
-subj "/C=$COUNTRY/ST=$STATE_PROVINCE/L=$LOCALITY/O=$ORGANIZATION/OU=$UNIT/CN=$COMMON_NAME"