๐๏ธ I do like things neat and tidy.
This is a small example of getting Flux running with docker compose! We organize in subfolders in case there is desire to support future (different) examples:
- basic: a setup (without replicas) with a rabbit servicve alongside flux.
- replicas: a setup with a rabbit service container alongside flux using docker-compose replicas no web interface
For each example, the default will scale your cluster to 3 workers and one main broker (a total size of 4 nodes) and it can be customized. We highly recommend using the basic approach as it more accurately can give an exact hostname to each of the workers.
For examples you will need:
Note that newer versions of docker include compose
directly alongside the client (e.g., docker compose
).
If you have an old version of Docker, you can install docker compose and instead use docker-compose
. It's not clear how long the older client will be supported, so it's recommended that you upgrade!
See the README.md
inside each directory for specific usage instructions.
This work is licensed under the Apache-2.0 license.
SPDX-License-Identifier: Apache-2.0
LLNL-CODE-764420