DEV Community

loading...

Discussion on: Quarkus IO : Supersonic Subatomic Mircoservices Introduction

Collapse
vbjelak profile image
Vladi Beeblebrox

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