File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,25 +55,25 @@ function parsec_run() {
5555}
5656function gg_run() {
5757 docker rm -f " ${1} " 2> /dev/null
58-
58+
5959 # shellcheck disable=SC2086
60- docker run ${3} --name " ${1} " \
60+ docker run ${3} \
61+ --name " ${1} " \
6162 -e GG_THING_NAME=" ${GG_THING_NAME} " \
6263 -e GG_ADDITIONAL_CMD_ARGS=" --trusted-plugin /provider.jar" \
6364 -e AWS_ACCESS_KEY_ID=" ${AWS_ACCESS_KEY_ID} " \
6465 -e AWS_SECRET_ACCESS_KEY=" ${AWS_SECRET_ACCESS_KEY} " \
6566 -e AWS_REGION=" ${AWS_REGION} " \
66- -e AWS_SESSION_TOKEN=" ${AWS_SESSION_TOKEN} " \
67+ -e AWS_SESSION_TOKEN=" ${AWS_SESSION_TOKEN} " \
6768 -v GG_PARSEC_SOCK:/run/parsec \
6869 -v GG_HOME:/home/ggc_user \
69- -p 1441:1441 -p 1442:1442 \
7070 parallaxsecond/greengrass_demo:latest " ${2} "
7171}
7272function run_demo() {
7373 parsec_run
7474 source secrets.env
7575 gg_run greengrass_demo_provisioning provision
76- gg_run greengrass_demo_run run -d
76+ gg_run greengrass_demo_run run " -d -p 1441:1441 -p 1442:1442 "
7777 docker logs -f greengrass_demo_run
7878}
7979
You can’t perform that action at this time.
0 commit comments