Merge branch 'dev' of https://github.com/dotnet-architecture/eShopOnContainers into dev
This commit is contained in:
commit
060cc48cf4
@ -3,7 +3,8 @@
|
|||||||
declare -x path=$1
|
declare -x path=$1
|
||||||
|
|
||||||
if [ -z "$path" ]; then
|
if [ -z "$path" ]; then
|
||||||
$path="$(pwd)/../src";
|
$path="$(pwd)/../src";
|
||||||
|
echo -e "\e[33mNo path passed. Will use $path"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
declare -a projectList=(
|
declare -a projectList=(
|
||||||
@ -30,9 +31,9 @@ do
|
|||||||
echo -e "\e[33m\tRemoving old publish output"
|
echo -e "\e[33m\tRemoving old publish output"
|
||||||
pushd $path/$project
|
pushd $path/$project
|
||||||
rm -rf obj/Docker/publish
|
rm -rf obj/Docker/publish
|
||||||
echo -e "\e[33m\tRestoring project"
|
echo -e "\e[33m\tRestoring project $project"
|
||||||
dotnet restore
|
dotnet restore
|
||||||
echo -e "\e[33m\tBuilding and publishing projects"
|
echo -e "\e[33m\tBuilding and publishing $project"
|
||||||
dotnet publish -o obj/Docker/publish
|
dotnet publish -o obj/Docker/publish
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '2'
|
version: '2.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
sql.data:
|
sql.data:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
version: '2.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
ci-build:
|
ci-build:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '2'
|
version: '2.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
basket.api:
|
basket.api:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
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:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
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:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
version: '2.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
basket.api:
|
basket.api:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
version: '2.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
basket.api:
|
basket.api:
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: '3'
|
version: '2.1'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
graceperiodmanager:
|
graceperiodmanager:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user