Skip to content

Commit

Permalink
update the tutorial with the correct release version number
Browse files Browse the repository at this point in the history
  • Loading branch information
showersky committed Sep 15, 2022
1 parent eac1049 commit 3fa1056
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions doc/en/source/onepage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,13 @@ Download the docker-compose file and the configuration files as below.
.. code-block:: console
# the docker-compose file to start all FogFlow components on the cloud node
wget https://raw.githubusercontent.com/smartfog/fogflow/master/release/3.2.6/cloud/docker-compose.yml
wget https://raw.githubusercontent.com/smartfog/fogflow/master/release/3.2.8/cloud/docker-compose.yml
# the configuration file used by all FogFlow components
wget https://raw.githubusercontent.com/smartfog/fogflow/master/release/3.2.6/cloud/config.json
wget https://raw.githubusercontent.com/smartfog/fogflow/master/release/3.2.8/cloud/config.json
# the configuration file used by the nginx proxy
wget https://raw.githubusercontent.com/smartfog/fogflow/master/release/3.2.6/cloud/nginx.conf
wget https://raw.githubusercontent.com/smartfog/fogflow/master/release/3.2.8/cloud/nginx.conf
Expand Down Expand Up @@ -155,11 +155,11 @@ There are two ways to check if the FogFlow cloud node is started correctly:
docker ps -a
795e6afe2857 nginx:latest "/docker-entrypoint.…" About a minute ago Up About a minute 0.0.0.0:80->80/tcp fogflow_nginx_1
33aa34869968 fogflow/worker:3.2.6 "/worker" About a minute ago Up About a minute fogflow_cloud_worker_1
e4055b5cdfe5 fogflow/master:3.2.6 "/master" About a minute ago Up About a minute 0.0.0.0:1060->1060/tcp fogflow_master_1
cdf8d4068959 fogflow/designer:3.2.6 "node main.js" About a minute ago Up About a minute 0.0.0.0:1030->1030/tcp, 0.0.0.0:8080->8080/tcp fogflow_designer_1
56daf7f078a1 fogflow/broker:3.2.6 "/broker" About a minute ago Up About a minute 0.0.0.0:8070->8070/tcp fogflow_cloud_broker_1
51901ce6ee5f fogflow/discovery:3.2.6 "/discovery" About a minute ago Up About a minute 0.0.0.0:8090->8090/tcp fogflow_discovery_1
33aa34869968 fogflow/worker:3.2.8 "/worker" About a minute ago Up About a minute fogflow_cloud_worker_1
e4055b5cdfe5 fogflow/master:3.2.8 "/master" About a minute ago Up About a minute 0.0.0.0:1060->1060/tcp fogflow_master_1
cdf8d4068959 fogflow/designer:3.2.8 "node main.js" About a minute ago Up About a minute 0.0.0.0:1030->1030/tcp, 0.0.0.0:8080->8080/tcp fogflow_designer_1
56daf7f078a1 fogflow/broker:3.2.8 "/broker" About a minute ago Up About a minute 0.0.0.0:8070->8070/tcp fogflow_cloud_broker_1
51901ce6ee5f fogflow/discovery:3.2.8 "/discovery" About a minute ago Up About a minute 0.0.0.0:8090->8090/tcp fogflow_discovery_1
51eff4975621 dgraph/standalone "/run.sh" About a minute ago Up About a minute 0.0.0.0:6080->6080/tcp, 0.0.0.0:8000->8000/tcp, 0.0.0.0:8082->8080/tcp, 0.0.0.0:9082->9080/tcp fogflow_dgraph_1
eb31cd255fde rabbitmq:3 "docker-entrypoint.s…" About a minute ago Up About a minute 4369/tcp, 5671/tcp, 15691-15692/tcp, 25672/tcp, 0.0.0.0:5672->5672/tcp fogflow_rabbitmq_1
Expand Down
2 changes: 1 addition & 1 deletion docker/edge/http/edge_start.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#This script is used to launch the docker containers for edge components i.e. Fogflow Edge Broker and Fogflow Edge Worker
#The input to script decides which docker image is to be run in docker conatiners
#For e.g.
# ./edge_start.sh : this command will run the docker image with "3.2.6" tag i.e. fogflow/broker:3.2.6
# ./edge_start.sh : this command will run the docker image with "3.2.8" tag i.e. fogflow/broker:3.2.8
# ./edge_start.sh arm : this command will run the docker image with "arm" tag i.e. fogflow/broker:arm

if [ $# -eq 0 ]; then
Expand Down
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build the images of all FogFlow core components
#./build.sh multistage
./build.sh multistage

# tag all docker images with the version number
if [ $# -gt 0 ]; then
Expand Down
10 changes: 5 additions & 5 deletions release/3.2.6/cloud/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.5"
services:
designer:
image: fogflow/designer:3.2.6
image: fogflow/designer:3.2.8
volumes:
- ./config.json:/app/config.json
ports:
Expand All @@ -14,7 +14,7 @@ services:
restart: always

discovery:
image: fogflow/discovery:3.2.6
image: fogflow/discovery:3.2.8
volumes:
- ./config.json:/config.json
ports:
Expand All @@ -24,7 +24,7 @@ services:
restart: always

master:
image: fogflow/master:3.2.6
image: fogflow/master:3.2.8
volumes:
- ./config.json:/config.json
links:
Expand All @@ -39,7 +39,7 @@ services:
restart: always

cloud_broker:
image: fogflow/broker:3.2.6
image: fogflow/broker:3.2.8
volumes:
- ./config.json:/config.json
ports:
Expand All @@ -50,7 +50,7 @@ services:
restart: always

cloud_worker:
image: fogflow/worker:3.2.6
image: fogflow/worker:3.2.8
volumes:
- /tmp:/tmp
- ./config.json:/config.json
Expand Down
4 changes: 2 additions & 2 deletions release/3.2.6/edge/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
version: "3.5"
services:
edge_broker:
image: fogflow/broker:3.2.6
image: fogflow/broker:3.2.8
volumes:
- ./config.json:/config.json
ports:
- 8060:8060
restart: always

edge_worker:
image: fogflow/worker:3.2.6
image: fogflow/worker:3.2.8
volumes:
- /tmp:/tmp
- ./config.json:/config.json
Expand Down
4 changes: 2 additions & 2 deletions release/3.2.6/edge/start.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
if [ $# -eq 0 ]; then
htype='3.2.6'
htype='3.2.8'
else
htype='arm'
fi

docker run -d --name=edgebroker -v $(pwd)/config.json:/config.json -p 8060:8060 fogflow/broker::3.2.6
docker run -d --name=edgebroker -v $(pwd)/config.json:/config.json -p 8060:8060 fogflow/broker::3.2.8
docker run -d --name=edgeworker -v $(pwd)/config.json:/config.json -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock fogflow/worker:$htype

0 comments on commit 3fa1056

Please sign in to comment.