OpenLiberty / guide-mongodb-intro

A guide on how to persist data in your microservices to MongoDB, a document-oriented NoSQL database.
https://openliberty.io/guides/mongodb-intro.html
Other
3 stars 4 forks source link

Dev Content Review 6 #19

Closed gkwan-ibm closed 4 years ago

gkwan-ibm commented 4 years ago
jimmy1wu commented 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

gkwan-ibm commented 4 years ago
jimmy1wu commented 4 years ago

move "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

gkwan-ibm commented 4 years ago

@jimmy1wu