This project uses Docker Compose to set up a MongoDB database.
- Docker
- Docker Compose
Start the Docker container in the background.
Stops the Docker container.
Removes the Docker containers.
Removes docker container and deletes the db-data directory.
Host name/address: 127.0.0.1 Port: 27017
Create .env file in root of project.
# Docker Container
MONGO_CONTAINER_NAME: your_container_name
# DB
MONGO_INITDB_ROOT_USERNAME: your_username
MONGO_INITDB_ROOT_PASSWORD: your_password