This respository provides a docker-compose.yaml
file that let you build the overall Smart Waste Collection system.
In order to deploy it you have to clone the repository and run the following command:
docker compose up
In order to build the docker compose you have to provide:
in .env
file
AZURE_SERVICE_PRINCIPAL_NAME
AZURE_SECRET
AZURE_TENANT
AUTHENTICATION_DB_CONN=<Connection string to MongoDB authentication database>
COMPLAINT_DB_CONN=<Connection string to MongoDB complaint database>
MISSION_DB_CONN=<Connection string to MongoDB mission database>
BOOKING_DB_CONN=<Connection string to MongoDB booking database>
The following docker compose will build the Smart Waste Collection microservices under the following ports at localhost
:
dumpster-microservice
at port3000
truck-microservice
at port3001
booking-microservice
at port3002
complaint-microservice
at port3003
mission-microservice
at port3004
authentication-microservice
at port3005
dashboard
at port8080