Add ESHOP_AZURE_REDIS variable from .env with default value

This commit is contained in:
Christian Arenas 2017-05-30 17:30:01 +02:00
parent 6b480e3d41
commit 2cad62d642
5 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
version: '2' version: '2.1'
# The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine. # The default docker-compose.override file can use the "localhost" as the external name for testing web apps within the same dev machine.
# The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like: # The ESHOP_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:
@ -12,7 +12,7 @@ services:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Development
- ASPNETCORE_URLS=http://0.0.0.0:80 - ASPNETCORE_URLS=http://0.0.0.0:80
- ConnectionString=basket.data - ConnectionString=${ESHOP_AZURE_REDIS:-basket.data}
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105. - identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
- EventBusConnection=rabbitmq - EventBusConnection=rabbitmq
ports: ports:

View File

@ -1,4 +1,4 @@
version: '2' version: '2.1'
# The Production docker-compose file has to have the external/real IPs or DNS names for the services # The Production docker-compose file has to have the external/real IPs or DNS names for the services
# The ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like: # The ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP environment variable is taken, by default, from the ".env" file defined like:
@ -17,7 +17,7 @@ services:
environment: environment:
- ASPNETCORE_ENVIRONMENT=Production - ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_URLS=http://0.0.0.0:80 - ASPNETCORE_URLS=http://0.0.0.0:80
- ConnectionString=basket.data - ConnectionString=${ESHOP_AZURE_REDIS:-basket.data}
- identityUrl=http://identity.api #Local: You need to open your host's firewall at range 5100-5105. at range 5100-5105. - identityUrl=http://identity.api #Local: You need to open your host's firewall at range 5100-5105. at range 5100-5105.
- EventBusConnection=rabbitmq - EventBusConnection=rabbitmq
ports: ports:

View File

@ -1,4 +1,4 @@
version: '2' version: '2.1'
services: services:
basket.api: basket.api:

View File

@ -1,4 +1,4 @@
version: '2' version: '2.1'
services: services:
basket.api: basket.api:

View File

@ -1,4 +1,4 @@
version: '2' version: '2.1'
services: services:
basket.api: basket.api: