The bootstrap of the project.
The bootstrap repository allows you to deploy the event-broker and all the microservices of the Smart Operating Block at the same time.
- Make sure you have a running and active version of Docker and docker-compose.
- Clone the repo
- Create a
.env
file in the root directory with the following variables:AZURE_CLIENT_ID
: ID of an Azure AD applicationAZURE_TENANT_ID
: ID of the application's Azure AD tenantAZURE_CLIENT_SECRET
: the application's client secretsAZURE_DT_ENDPOINT
: the Azure Digital Twins instance endpointBUILDING_MANAGEMENT_MONGODB_URL
: the mongodb's connection string for the building management microservicePATIENT_MANAGEMENT_MONGODB_URL
: the mongodb's connection string for the patient management microserviceSIGNALR_CONNECTION_STRING
: connection string of signalR serviceSTAFF_TRACKING_MONGODB_URL
: the mongodb's connection string for the staff tracking microserviceSURGICAL_PROCESS_MONGODB_URL
: the mongodb's connection string for the surgical process monitoring microserviceSURGERY_REPORT_MONGODB_URL
: the mongodb's connection string for the surgery report microserviceUSER_MANAGEMENT_MONGODB_URL
: the mongodb's connection string for the user management microservice
- Edit the config file for the Automation management microservice in the
config
folder, or leave it as is if you are ok with the default settings. Note: The file name must beconfig.yml
. - Run the following command:
docker-compose up -d