merge with docker-branch

This commit is contained in:
Santhosh S 2023-09-05 00:44:41 -04:00
parent a8105ab0f2
commit f650ee562b
5 changed files with 42 additions and 55 deletions

View File

@ -31,7 +31,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DamageAssesment.Api.Employe
EndProject EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DamageAssesment.Api.Employees.Test", "DamageAssesment.Api.Employees.Test\DamageAssesment.Api.Employees.Test.csproj", "{D6BF9AE9-72FA-4726-A326-35A35D27FFB8}" Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DamageAssesment.Api.Employees.Test", "DamageAssesment.Api.Employees.Test\DamageAssesment.Api.Employees.Test.csproj", "{D6BF9AE9-72FA-4726-A326-35A35D27FFB8}"
EndProject EndProject
Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{BADDE601-D7A6-425C-A592-A7E365E26188}" Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{E305D5CD-E635-4268-9F74-D3FBE0DF16C8}"
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -95,10 +95,10 @@ Global
{D6BF9AE9-72FA-4726-A326-35A35D27FFB8}.Debug|Any CPU.Build.0 = Debug|Any CPU {D6BF9AE9-72FA-4726-A326-35A35D27FFB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D6BF9AE9-72FA-4726-A326-35A35D27FFB8}.Release|Any CPU.ActiveCfg = Release|Any CPU {D6BF9AE9-72FA-4726-A326-35A35D27FFB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D6BF9AE9-72FA-4726-A326-35A35D27FFB8}.Release|Any CPU.Build.0 = Release|Any CPU {D6BF9AE9-72FA-4726-A326-35A35D27FFB8}.Release|Any CPU.Build.0 = Release|Any CPU
{BADDE601-D7A6-425C-A592-A7E365E26188}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E305D5CD-E635-4268-9F74-D3FBE0DF16C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BADDE601-D7A6-425C-A592-A7E365E26188}.Debug|Any CPU.Build.0 = Debug|Any CPU {E305D5CD-E635-4268-9F74-D3FBE0DF16C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BADDE601-D7A6-425C-A592-A7E365E26188}.Release|Any CPU.ActiveCfg = Release|Any CPU {E305D5CD-E635-4268-9F74-D3FBE0DF16C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BADDE601-D7A6-425C-A592-A7E365E26188}.Release|Any CPU.Build.0 = Release|Any CPU {E305D5CD-E635-4268-9F74-D3FBE0DF16C8}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE

View File

@ -3,14 +3,12 @@
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectVersion>2.1</ProjectVersion> <ProjectVersion>2.1</ProjectVersion>
<DockerTargetOS>Linux</DockerTargetOS> <DockerTargetOS>Linux</DockerTargetOS>
<ProjectGuid>badde601-d7a6-425c-a592-a7e365e26188</ProjectGuid> <ProjectGuid>e305d5cd-e635-4268-9f74-d3fbe0df16c8</ProjectGuid>
<DockerLaunchAction>LaunchBrowser</DockerLaunchAction> <DockerLaunchAction>LaunchBrowser</DockerLaunchAction>
<DockerServiceUrl>{Scheme}://localhost:{ServicePort}/swagger</DockerServiceUrl> <DockerServiceUrl>{Scheme}://localhost:{ServicePort}/swagger</DockerServiceUrl>
<DockerServiceName>damageassesment.api.answers</DockerServiceName> <DockerServiceName>damageassesment.api.surveys</DockerServiceName>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<None Include="default_Local.conf" />
<None Include="default.conf" />
<None Include="docker-compose.override.yml"> <None Include="docker-compose.override.yml">
<DependentUpon>docker-compose.yml</DependentUpon> <DependentUpon>docker-compose.yml</DependentUpon>
</None> </None>

View File

@ -1,41 +1,68 @@
version: '3.4' version: '3.4'
services: services:
#nginx:
# container_name: my-nginx
# image: nginx:latest
# restart: always
# ports:
# - "80:80"
# volumes:
# - ./default.conf:/etc/nginx/conf.d/default.conf
damageassesment.api.answers: damageassesment.api.answers:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Development
networks:
nginx-network:
ipv4_address: 172.18.0.150
ports: ports:
- "6001:80" - "6001:80"
damageassesment.api.attachments: damageassesment.api.attachments:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Development
networks:
nginx-network:
ipv4_address: 172.18.0.151
ports: ports:
- "6002:80" - "6002:80"
damageassesment.api.employees: damageassesment.api.employees:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Development
networks:
nginx-network:
ipv4_address: 172.18.0.152
ports: ports:
- "6003:80" - "6003:80"
damageassesment.api.locations: damageassesment.api.locations:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Development
networks:
nginx-network:
ipv4_address: 172.18.0.153
ports: ports:
- "6004:80" - "6004:80"
damageassesment.api.questions: damageassesment.api.questions:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Development
networks:
nginx-network:
ipv4_address: 172.18.0.154
ports: ports:
- "6005:80" - "6005:80"
damageassesment.api.survey: damageassesment.api.survey:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Development
networks:
nginx-network:
ipv4_address: 172.18.0.155
ports: ports:
- "6006:80" - "6006:80"
@ -48,5 +75,8 @@ services:
- services__Employees=http://damageassesment.api.employees:80 - services__Employees=http://damageassesment.api.employees:80
- services__Attachments=http://damageassesment.api.attachments:80 - services__Attachments=http://damageassesment.api.attachments:80
- services__Surveys=http://damageassesment.api.survey:80 - services__Surveys=http://damageassesment.api.survey:80
networks:
nginx-network:
ipv4_address: 172.18.0.156
ports: ports:
- "6007:80" - "6007:80"

View File

@ -1,50 +1,8 @@
version: '3.4' version: '3.4'
services: services:
damageassesment.api.answers: damageassesment.api.surveys:
image: ${DOCKER_REGISTRY-}damageassesmentapianswers image: ${DOCKER_REGISTRY-}damageassesmentapisurveys
build:
context: .
dockerfile: DamageAssesment.Api.Answers/Dockerfile
damageassesment.api.attachments:
image: ${DOCKER_REGISTRY-}damageassesmentapiattachments
build:
context: .
dockerfile: DamageAssesment.Api.Attachments/Dockerfile
damageassesment.api.employees:
image: ${DOCKER_REGISTRY-}damageassesmentapiemployees
build:
context: .
dockerfile: DamageAssesment.Api.Employees/Dockerfile
damageassesment.api.locations:
image: ${DOCKER_REGISTRY-}damageassesmentapilocations
build:
context: .
dockerfile: DamageAssesment.Api.Locations/Dockerfile
damageassesment.api.questions:
image: ${DOCKER_REGISTRY-}damageassesmentapiquestions
build:
context: .
dockerfile: DamageAssesment.Api.Questions/Dockerfile
damageassesment.api.survey:
image: ${DOCKER_REGISTRY-}damageassesmentapisurvey
build: build:
context: . context: .
dockerfile: DamageAssesment.Api.Surveys/Dockerfile dockerfile: DamageAssesment.Api.Surveys/Dockerfile
damageassesment.api.surveyresponses:
image: ${DOCKER_REGISTRY-}damageassesmentapisurveyresponses
build:
context: .
dockerfile: DamageAssesment.Api.SurveyResponses/Dockerfile

View File

@ -10,7 +10,8 @@
"damageassesment.api.locations": "StartDebugging", "damageassesment.api.locations": "StartDebugging",
"damageassesment.api.questions": "StartDebugging", "damageassesment.api.questions": "StartDebugging",
"damageassesment.api.survey": "StartDebugging", "damageassesment.api.survey": "StartDebugging",
"damageassesment.api.surveyresponses": "StartDebugging" "damageassesment.api.surveyresponses": "StartDebugging",
"damageassesment.api.surveys": "StartDebugging"
} }
} }
} }