Skip to content

Commit 21da9ae

Browse files
mpawlikgroundnuty
authored andcommitted
Update README.MD to contain inforation about using docker images.
1 parent 3076c8f commit 21da9ae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,11 @@ The latest release of HyperFlow is 1.1.0
2020
* Go to hyperflow directory: `cd node_modules/hyperflow`
2121
* Run example workflows using command `hflow run <wf_directory>`, for example:<br>```./bin/hflow run ./examples/Sqrsum```
2222
* Optionally, you can add directory `<hyperflow_root_dir>/bin` to your system `PATH`
23+
24+
###Using docker image
25+
* Build the image: `docker build -t hyperflow .`
26+
* Start redis container: `docker run --name redis -d redis`
27+
* [OPTIONAL] If you plan on using amqp executor, start a rabbitmq container: `docker run -d --name rabbitmq rabbitmq:3`
28+
* Run hyperflow server: `docker run -d --rm --link=redis -e "REDIS_URL=redis://redis" --name hyperflow -p 8080:80 hyperflow`
29+
* [OPTIONAL] or with amqp executor: `docker run -d --rm --link=rabbitmq --link=redis -e "AMQP_URL=amqp://rabbitmq" -e "REDIS_URL=redis://redis" --name hyperflow -p 8080:80 hyperflow`
30+
* Verify that the server responds with: `curl localhost:8080 -v`, the output should contain a string: `Cannot GET /`

0 commit comments

Comments
 (0)