Browse Source

Rename grace period service in docker-compose files

pull/809/head
Ramón Tomás 7 years ago
parent
commit
e8dbf0c160
6 changed files with 10 additions and 10 deletions
  1. +1
    -1
      docker-compose.override.yml
  2. +3
    -3
      docker-compose.vs.debug.yml
  3. +1
    -1
      docker-compose.vs.release.yml
  4. +3
    -3
      docker-compose.yml
  5. +1
    -1
      eShopOnContainers-ServicesAndWebApps.sln
  6. +1
    -1
      src/Services/GracePeriod/GracePeriodManager/Dockerfile

+ 1
- 1
docker-compose.override.yml View File

@ -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


+ 3
- 3
docker-compose.vs.debug.yml View File

@ -121,13 +121,13 @@ services:
labels: labels:
- "com.microsoft.visualstudio.targetoperatingsystem=linux" - "com.microsoft.visualstudio.targetoperatingsystem=linux"
sagamanager:
image: eshop/sagamanager:dev
graceperiodmanager:
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


+ 1
- 1
docker-compose.vs.release.yml View File

@ -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}


+ 3
- 3
docker-compose.yml View File

@ -2,10 +2,10 @@ version: '2'
services: services:
sagamanager:
image: eshop/sagamanager
graceperiodmanager:
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


+ 1
- 1
eShopOnContainers-ServicesAndWebApps.sln View File

@ -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


+ 1
- 1
src/Services/GracePeriod/GracePeriodManager/Dockerfile View File

@ -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…
Cancel
Save