This exercise is to practice docker skills, so you need to create a dockerfile for the web application, an instance of any backend with its database. Then you wrap you application and services together with a docker-compose file.
All backend applications should be exposed on port 9000. Maybe the connection strings for the databases would have to be adjusted according to containers.
- node version: 14.17.6
- dependencies: npm install
- running: ng serve
- version: 6.0.102
- database: mongo
- dependencies: dotnet restore
- running: dotnet run
- node version: 14.17.6
- database: Microsoft SQL Server
- dependencies: npm install
- running: node index.js
- version: 7.2
- database: MySQL
- hint: run
docker-php-ext-install mysqli
to install mysql on your dockerfile
- version: 3.10.1
- database: Postgres
- dependencies: pip install -r requirements.txt
- running: python app.py