diff options
author | Alan Rominger <arominge@redhat.com> | 2023-09-06 17:55:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-06 17:55:25 +0200 |
commit | 09168e583209aed1f80aeaf6b1ef928cf814e541 (patch) | |
tree | c3aaa1016ef1791f9b39d6f6af71a2a4d70e59d6 /tools/docker-compose | |
parent | Avoid activity stream entries for instance going offline (#14385) (diff) | |
download | awx-09168e583209aed1f80aeaf6b1ef928cf814e541.tar.xz awx-09168e583209aed1f80aeaf6b1ef928cf814e541.zip |
Edit docker-compose instructions for correctness (#14418)
Diffstat (limited to 'tools/docker-compose')
-rw-r--r-- | tools/docker-compose/README.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/docker-compose/README.md b/tools/docker-compose/README.md index 6387fb32b9..a001968572 100644 --- a/tools/docker-compose/README.md +++ b/tools/docker-compose/README.md @@ -138,15 +138,16 @@ docker network prune ##### _(alternative method)_ Spin up a development environment with customized mesh node cluster -With the introduction of Receptor, a cluster (of containers) with execution nodes and a hop node can be created by the docker-compose Makefile target. -By default, it will create 1 hybrid node, 1 hop node, and 2 execution nodes. -You can switch the type of AWX nodes between hybrid and control with this syntax. +A cluster (of containers) with execution nodes and a hop node can be created by the docker-compose Makefile target. +By default, it will create 1 hybrid node. +You can switch the type of AWX nodes between hybrid and control with `MAIN_NODE_TYPE`. ``` -MAIN_NODE_TYPE=control COMPOSE_TAG=devel make docker-compose +MAIN_NODE_TYPE=control EXECUTION_NODE_COUNT=2 COMPOSE_TAG=devel make docker-compose ``` Running the above command will create a cluster of 1 control node, 1 hop node, and 2 execution nodes. +A hop node is automatically created whenever there are 1 or more execution nodes. The number of nodes can be changed: |