for everyone wondering about missing actual mongoDB instance, pull or build the image and run it with:
'$ docker run -d -p 27017:27017 -n myMongo mongod'
After that 27017 port will be exposed and Quarkus Application will be able to connect to it. For preserving data after mongoDB container restart, mount volume using:
'-v your-local-folder:/data/db'
or similar
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
for everyone wondering about missing actual mongoDB instance, pull or build the image and run it with:
'$ docker run -d -p 27017:27017 -n myMongo mongod'
After that 27017 port will be exposed and Quarkus Application will be able to connect to it. For preserving data after mongoDB container restart, mount volume using:
'-v your-local-folder:/data/db'
or similar