From 3d54d741b32e97c62d2015a58625b0654e138c4a Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 2 Nov 2020 01:45:32 +0200 Subject: [PATCH] debug mount --- start-iotclient-n.sh | 3 ++- start-iotclient.sh | 3 ++- start-iotserver.sh | 3 ++- start-iotwebclient.sh | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/start-iotclient-n.sh b/start-iotclient-n.sh index 5a912ab..ec93ad9 100755 --- a/start-iotclient-n.sh +++ b/start-iotclient-n.sh @@ -1,4 +1,5 @@ #!/bin/bash #docker run --rm -it --name iotclient-n --network="host" -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/bclient.js -docker run --rm -it --name iotclient-n --network="host" -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/bclient.js +#docker run --rm -it --name iotclient-n --network="host" -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/bclient.js +docker run --rm -it --name iotclient-n --network="host" -v "$(pwd)/src/IoT/llo:/home/node/iot-swarm-example/src/IoT/llo" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/bclient.js diff --git a/start-iotclient.sh b/start-iotclient.sh index 0438fc5..ded0c49 100755 --- a/start-iotclient.sh +++ b/start-iotclient.sh @@ -1,4 +1,5 @@ #!/bin/bash #docker run --rm -it --name iotclient -p 3081:3081 --network="host" -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotclient.js -docker run --rm -it --name iotclient -p 3081:3081 --network="host" -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotclient.js +#docker run --rm -it --name iotclient -p 3081:3081 --network="host" -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotclient.js +docker run --rm -it --name iotclient -p 3081:3081 --network="host" -v "$(pwd)/src/IoT/llo:/home/node/iot-swarm-example/src/IoT/llo" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotclient.js diff --git a/start-iotserver.sh b/start-iotserver.sh index 8eb0c5d..b919bb6 100755 --- a/start-iotserver.sh +++ b/start-iotserver.sh @@ -1,4 +1,5 @@ #!/bin/bash #docker run --rm -it --name iotserver -p 8084:8084 -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotserver.js -docker run --rm -it --name iotserver -p 8084:8084 -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotserver.js +#docker run --rm -it --name iotserver -p 8084:8084 -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotserver.js +docker run --rm -it --name iotserver -p 8084:8084 -v "$(pwd)/src/IoT/llo:/home/node/iot-swarm-example/src/IoT/llo" hub.swarmlab.io:5480/iot-swarm-example:latest node /home/node/iot-swarm-example/src/IoT/llo/iotserver.js diff --git a/start-iotwebclient.sh b/start-iotwebclient.sh index 94bc238..2f0fe0b 100755 --- a/start-iotwebclient.sh +++ b/start-iotwebclient.sh @@ -1,4 +1,5 @@ #!/bin/bash #docker run --rm -it --name iotwebclient -p 8080:8080 -v $PWD/src:/home/node/iot-swarm-example/src hub.swarmlab.io:5480/iot-swarm-example:latest /bin/bash -c "cd /home/node/iot-swarm-example/src/browser-client; npm run serve" -docker run --rm -it --name iotwebclient -p 8080:8080 -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest /bin/bash -c "cd /home/node/iot-swarm-example/src/browser-client; npm run serve" +#docker run --rm -it --name iotwebclient -p 8080:8080 -v "$(pwd)/src:/home/node/iot-swarm-example/src" hub.swarmlab.io:5480/iot-swarm-example:latest /bin/bash -c "cd /home/node/iot-swarm-example/src/browser-client; npm run serve" +docker run --rm -it --name iotwebclient -p 8080:8080 -v "$(pwd)/src/browser-client/src:/home/node/iot-swarm-example/src/browser-client/src" hub.swarmlab.io:5480/iot-swarm-example:latest /bin/bash -c "cd /home/node/iot-swarm-example/src/browser-client; npm run serve"