@@ -27,27 +27,16 @@ lists. **Use MongoDB as the database.**
---
## Deployment
The deployment consists of 2 parts: deploying the database and the application.
1. Create a docker compose file:
```yml
services:
mongodb:
image:mongo:latest
container_name:mongodb
ports:
-"27017:27017"
```
2. Start docker compose file
`sudo docker compose up -d`
3. Clone the repository:
In exercise 1, the deployment consisted of 2 parts: deploying the database and the application. However, in exercise 2, the application got containerized, so you can deploy it by following these simple steps: