Skip to content

Commit

Permalink
Edit docker-compose instructions for correctness (#14418)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanCoding authored Sep 6, 2023
1 parent 6df1de4 commit 09168e5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tools/docker-compose/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 09168e5

Please sign in to comment.