File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -55,25 +55,25 @@ function parsec_run() {
55
55
}
56
56
function gg_run() {
57
57
docker rm -f " ${1} " 2> /dev/null
58
-
58
+
59
59
# shellcheck disable=SC2086
60
- docker run ${3} --name " ${1} " \
60
+ docker run ${3} \
61
+ --name " ${1} " \
61
62
-e GG_THING_NAME=" ${GG_THING_NAME} " \
62
63
-e GG_ADDITIONAL_CMD_ARGS=" --trusted-plugin /provider.jar" \
63
64
-e AWS_ACCESS_KEY_ID=" ${AWS_ACCESS_KEY_ID} " \
64
65
-e AWS_SECRET_ACCESS_KEY=" ${AWS_SECRET_ACCESS_KEY} " \
65
66
-e AWS_REGION=" ${AWS_REGION} " \
66
- -e AWS_SESSION_TOKEN=" ${AWS_SESSION_TOKEN} " \
67
+ -e AWS_SESSION_TOKEN=" ${AWS_SESSION_TOKEN} " \
67
68
-v GG_PARSEC_SOCK:/run/parsec \
68
69
-v GG_HOME:/home/ggc_user \
69
- -p 1441:1441 -p 1442:1442 \
70
70
parallaxsecond/greengrass_demo:latest " ${2} "
71
71
}
72
72
function run_demo() {
73
73
parsec_run
74
74
source secrets.env
75
75
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 "
77
77
docker logs -f greengrass_demo_run
78
78
}
79
79
You can’t perform that action at this time.
0 commit comments