Rename grace period service in docker-compose files
This commit is contained in:
parent
565be77825
commit
e8dbf0c160
@ -7,7 +7,7 @@ version: '2'
|
|||||||
# An external IP or DNS name has to be used (instead localhost and the 10.0.75.1 IP) when testing the Web apps and the Xamarin apps from remote machines/devices using the same WiFi, for instance.
|
# An external IP or DNS name has to be used (instead localhost and the 10.0.75.1 IP) when testing the Web apps and the Xamarin apps from remote machines/devices using the same WiFi, for instance.
|
||||||
|
|
||||||
services:
|
services:
|
||||||
sagamanager:
|
graceperiodmanager:
|
||||||
environment:
|
environment:
|
||||||
- ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
|
- ConnectionString=Server=sql.data;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word
|
||||||
- EventBusConnection=rabbitmq
|
- EventBusConnection=rabbitmq
|
||||||
|
@ -121,13 +121,13 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "com.microsoft.visualstudio.targetoperatingsystem=linux"
|
- "com.microsoft.visualstudio.targetoperatingsystem=linux"
|
||||||
|
|
||||||
sagamanager:
|
graceperiodmanager:
|
||||||
image: eshop/sagamanager:dev
|
image: eshop/graceperiodmanager:dev
|
||||||
build:
|
build:
|
||||||
args:
|
args:
|
||||||
source: ${DOCKER_BUILD_SOURCE}
|
source: ${DOCKER_BUILD_SOURCE}
|
||||||
volumes:
|
volumes:
|
||||||
- ./src/Services/SagaManager/SagaManager:/app
|
- ./src/Services/GracePeriod/GracePeriodManager:/app
|
||||||
- ~/.nuget/packages:/root/.nuget/packages:ro
|
- ~/.nuget/packages:/root/.nuget/packages:ro
|
||||||
- ~/clrdbg:/clrdbg:ro
|
- ~/clrdbg:/clrdbg:ro
|
||||||
entrypoint: tail -f /dev/null
|
entrypoint: tail -f /dev/null
|
||||||
|
@ -81,7 +81,7 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
- "com.microsoft.visualstudio.targetoperatingsystem=linux"
|
- "com.microsoft.visualstudio.targetoperatingsystem=linux"
|
||||||
|
|
||||||
sagamanager:
|
graceperiodmanager:
|
||||||
build:
|
build:
|
||||||
args:
|
args:
|
||||||
source: ${DOCKER_BUILD_SOURCE}
|
source: ${DOCKER_BUILD_SOURCE}
|
||||||
|
@ -2,10 +2,10 @@ version: '2'
|
|||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
sagamanager:
|
graceperiodmanager:
|
||||||
image: eshop/sagamanager
|
image: eshop/graceperiodmanager
|
||||||
build:
|
build:
|
||||||
context: ./src/Services/SagaManager/SagaManager
|
context: ./src/Services/GracePeriod/GracePeriodManager
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
depends_on:
|
depends_on:
|
||||||
- sql.data
|
- sql.data
|
||||||
|
@ -82,7 +82,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EventBus.Tests", "src\Build
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GracePeriod", "GracePeriod", "{F38B4FF0-0B49-405A-B1B4-F7A5E3BC4C4E}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GracePeriod", "GracePeriod", "{F38B4FF0-0B49-405A-B1B4-F7A5E3BC4C4E}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GracePeriodManager", "src\Services\SagaManager\SagaManager\GracePeriodManager.csproj", "{F6E0F0DD-1400-43C3-B5E0-7CC325728C47}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GracePeriodManager", "src\Services\GracePeriod\GracePeriodManager\GracePeriodManager.csproj", "{F6E0F0DD-1400-43C3-B5E0-7CC325728C47}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
@ -2,4 +2,4 @@ FROM microsoft/dotnet:1.1-runtime
|
|||||||
ARG source
|
ARG source
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ${source:-obj/Docker/publish} .
|
COPY ${source:-obj/Docker/publish} .
|
||||||
ENTRYPOINT ["dotnet", "SagaManager.dll"]
|
ENTRYPOINT ["dotnet", "GracePeriodManager.dll"]
|
Loading…
x
Reference in New Issue
Block a user