This repository contains the microservice that handles the generation and management of Collection Points and Dumpsters digital twins.
You can run the microservice using a docker container with the command
docker run -p 3000:8080 --env-file .env -it ghcr.io/smartwastecollection/dumpster-microservice:<latest-tag>
Note: You can remove
-it
flags and use-d
to launch it as a daemon
The .env
file must contain the secrets needed to perform the login into the azure cloud platform:
AZURE_SERVICE_PRINCIPAL_NAME
: UUID that represents the Application (client) ID of the Service PrincipalAZURE_SECRET
: UUID that identifies the secret used to perform the login from the Service PrincipalAZURE_TENANT
: UUID that identifies the Directory (tenant) ID of the Service Principal
Detailed description about the API here