In this tutorial, you will learn how to set up Python
, MongoDB
, and Mongo-express
in the docker-desktop development environment.
Before starting, ensure that you have installed docker desktop version above v4.15.0
. Also, clone or download the repository for this tutorial.
git clone https://github.com/hsiangjenli/tutorial-python-docker-mongodb.git
To set up the development environment, follow these steps:
Select the repository you have cloned or downloaded.
If the setup is successful, you will see a message similar to the one below:
You can open the folder in VS Code and start working on your project.
To access MongoDB-Express, go to http://localhost:8081/
.