From 7160a6b25133991aa1f5fb76f30f484e12c3ed29 Mon Sep 17 00:00:00 2001 From: Cesar De la Torre Date: Sat, 11 Mar 2017 13:47:17 -0800 Subject: [PATCH] Created 08. Deploying "Production/Staging" config for remote browsers or Xamarin mobile apps (Using external DNS/IP instead of LOCALHOST) (markdown) --- ...-(Using-external-DNS-IP-instead-of-LOCALHOST).md" | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 "08.-Deploying-\"Production-Staging\"-config-for-remote-browsers-or-Xamarin-mobile-apps-(Using-external-DNS-IP-instead-of-LOCALHOST).md" diff --git "a/08.-Deploying-\"Production-Staging\"-config-for-remote-browsers-or-Xamarin-mobile-apps-(Using-external-DNS-IP-instead-of-LOCALHOST).md" "b/08.-Deploying-\"Production-Staging\"-config-for-remote-browsers-or-Xamarin-mobile-apps-(Using-external-DNS-IP-instead-of-LOCALHOST).md" new file mode 100644 index 0000000..8d45b4d --- /dev/null +++ "b/08.-Deploying-\"Production-Staging\"-config-for-remote-browsers-or-Xamarin-mobile-apps-(Using-external-DNS-IP-instead-of-LOCALHOST).md" @@ -0,0 +1,12 @@ +DRAFT - TBD in further details. +Basically, the docker-compose needs to be using the "production/staging" config, with: + +**docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d** + +This is using the [docker-compose.prod.yml](https://github.com/dotnet/eShopOnContainers/blob/master/docker-compose.prod.yml) which is providing an specific external DNS or IP configured by default at the [.env file](https://github.com/dotnet/eShopOnContainers/blob/master/.env) as: + +ESHOP_EXTERNAL_DNS_NAME_OR_IP=192.168.88.248 + +You could override with values from environment variables from your runtime/shell, as well. + +