This folder includes all docker-compose files to deploy FogFlow, including the following two parts.
- deployment all FogFlow core components on a cloud node; the detailed steps are introduced here
For a simple demonstration or test, this is already enough to try out the FogFlow system, because this docker compose file will also launch an edge node as part of the FogFlow Core.
All configurations are provided by in the configuration file. No environment viable is required. A default configuration file is provided in our repository.
Please follow the following instructions to change the configurations accordingly.
- deployment a FogFlow edge node; the detailed steps are introduced here
the dockerfile files to build FogFlow components are located at the following folders
-
discovery: /discovery/Dockerfile, please check the readme to see the detail instruction
-
broker: /broker/Dockerfile, lease check the readme to see the detail instruction
-
master: /master/Dockerfile, lease check the readme to see the detail instruction
-
worker: /worker/Dockerfile, lease check the readme to see the detail instruction
-
designer: /designer/Dockerfile, lease check the readme to see the detail instruction
A bash script is provided to build the images of all FogFlow components.
./build.sh
Once you log in to your own docker hub account, you can publish all generated docker images to your own docker registry.
./publish.sh