From 7f82b10bbc0cba6e7d41f225f215f48c100b73dc Mon Sep 17 00:00:00 2001 From: Santhosh S <913341@dadeschools.net> Date: Wed, 27 Sep 2023 22:02:07 -0400 Subject: [PATCH] added docker-compose for service cluster --- DamageAssesmentApi/docker-compose.asf.yml | 72 +++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 DamageAssesmentApi/docker-compose.asf.yml diff --git a/DamageAssesmentApi/docker-compose.asf.yml b/DamageAssesmentApi/docker-compose.asf.yml new file mode 100644 index 0000000..cf60fca --- /dev/null +++ b/DamageAssesmentApi/docker-compose.asf.yml @@ -0,0 +1,72 @@ +version: '3.4' + +services: + answers: + image: santhoshsnair/damageassesmentapianswers:latest + environment: + - ASPNETCORE_ENVIRONMENT=Development + ports: + - "80/http" + + attachments: + image: santhoshsnair/damageassesmentapiattachments:latest + environment: + - ASPNETCORE_ENVIRONMENT=Development + ports: + - "80/http" + + + employees: + image: santhoshsnair/damageassesmentapiemployees:latest + environment: + - ASPNETCORE_ENVIRONMENT=Development + ports: + - "80/http" + + + locations: + image: santhoshsnair/damageassesmentapilocations:latest + environment: + - ASPNETCORE_ENVIRONMENT=Development + ports: + - "80/http" + + + questions: + image: santhoshsnair/damageassesmentapiquestions:latest + environment: + - ASPNETCORE_ENVIRONMENT=Development + ports: + - "80/http" + + + responses: + image: santhoshsnair/damageassesmentapisurveyresponses:latest + environment: + - ASPNETCORE_ENVIRONMENT=Development + - services__Answers=http://10.0.0.4:19081/dasapp/answers/ + - services__Locations=http://10.0.0.4:19081/dasapp/locations/ + - services__Questions=http://10.0.0.4:19081/dasapp/questions/ + - services__Employees=http://10.0.0.4:19081/dasapp/employees/ + - services__Attachments=http://10.0.0.4:19081/dasapp/attachments/ + - services__Surveys=http://10.0.0.4:19081/dasapp/survey/ + + ports: + - "6006:80" + + + surveys: + image: santhoshsnair/damageassesmentapisurveys:latest + environment: + - ASPNETCORE_ENVIRONMENT=Development + ports: + - "80/http" + + + doculinks: + image: santhoshsnair/damageassesmentapidoculinks:latest + environment: + - ASPNETCORE_ENVIRONMENT=Development + ports: + - "80/http" +