зеркало из https://github.com/microsoft/AMBROSIA.git
Merge branch 'master' of https://github.com/Microsoft/AMBROSIA
This commit is contained in:
Коммит
d5e02c0fcb
|
@ -38,17 +38,24 @@ the configuration information that will be used by the
|
|||
export AMBROSIA_IMMORTALCOORDINATOR_PORT=1500
|
||||
export AZURE_STORAGE_CONN_STRING=...
|
||||
|
||||
To launch a service
|
||||
To launch a service we're going to use a convenience script called
|
||||
`runAmbrosiaService.sh` which is included in the binary distribution
|
||||
of AMBROSIA. This handles starting the immortal coordinator and
|
||||
monitorying its health. (You could start ImmortalCoordinator
|
||||
yourself, as well
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
docker run -it --rm --env "AZURE_STORAGE_CONN_STRING=$AZURE_STORAGE_CONN_STRING" \
|
||||
--env --env "AMBROSIA_IMMORTALCOORDINATOR_PORT=1600" \
|
||||
ambrosia-hello runAmbrosiaService.sh dotnet Client2/publish/Client2.dll $CNAME $SNAME
|
||||
|
||||
|
||||
Building and Running: Docker
|
||||
----------------------------
|
||||
|
||||
|
||||
docker run -it --rm --env "AZURE_STORAGE_CONN_STRING=$AZURE_STORAGE_CONN_STRING" \
|
||||
--env --env "AMBROSIA_IMMORTALCOORDINATOR_PORT=1600" \
|
||||
ambrosia-hello runAmbrosiaService.sh dotnet Client2/publish/Client2.dll $CNAME $SNAME
|
||||
|
||||
|
||||
Building and Running: Windows / Visual Studio
|
||||
|
|
|
@ -221,7 +221,9 @@ start_immortal_coordinator -i $AMBROSIA_INSTANCE_NAME -p $AMBROSIA_IMMORTALCOORD
|
|||
# Step 2:
|
||||
echo " $TAG Launching app process alongside coordinator:"
|
||||
set -x
|
||||
if [ -e /dev/stdin ]; then
|
||||
|
||||
# Test for interactive shell:
|
||||
if tty -s; then
|
||||
$* < /dev/stdin &
|
||||
app_pid=$!
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче