Skip to content

Commit

Permalink
[openwallet-foundation#1674] Add basic DOCKER_ENV logging for run_demo
Browse files Browse the repository at this point in the history
signed-off-by: Thomas Diesler <[email protected]>
  • Loading branch information
tdiesler committed Mar 18, 2022
1 parent 3774e85 commit fd0e51f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion demo/run_demo
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ if [ -z "$AGENT_ENDPOINT" ] && [ "$RUNMODE" == "docker" ]; then
fi
fi

echo $DOCKERHOST
echo "DOCKERHOST=$DOCKERHOST"

DOCKER_ENV="-e LOG_LEVEL=${LOG_LEVEL} -e RUNMODE=${RUNMODE} -e DOCKERHOST=${DOCKERHOST}"
if ! [ -z "$AGENT_PORT" ]; then
Expand Down Expand Up @@ -241,6 +241,8 @@ if ! [ -z "${ENABLE_PYDEVD_PYCHARM}" ]; then
DOCKER_ENV="${DOCKER_ENV} -e ENABLE_PYDEVD_PYCHARM=${ENABLE_PYDEVD_PYCHARM} -e PYDEVD_PYCHARM_CONTROLLER_PORT=${PYDEVD_PYCHARM_CONTROLLER_PORT} -e PYDEVD_PYCHARM_AGENT_PORT=${PYDEVD_PYCHARM_AGENT_PORT}"
fi

echo "DOCKER_ENV=$DOCKER_ENV"

# on Windows, docker run needs to be prefixed by winpty
if [ "$OSTYPE" = "msys" ]; then
DOCKER="winpty docker"
Expand Down

0 comments on commit fd0e51f

Please sign in to comment.