Using Docker compose for automated provisioning

Deploy multiple Docker containers using a script.

Use Docker Compose to automate bootstrapping a multi-node cluster with DDAC. Get a sample compose.yml files for different tools and services.

Three node configuration

When creating multiple nodes, use the node parameter to bootstrap one node at a time. For example, the first node is node=0, the second node is node=1, and the third node is node=2.

Wait for each node to finish bootstrapping before running docker-compose for the next node.

docker-compose -f docker-compose.yml up -d --scale node=0
docker-compose -f docker-compose.yml up -d --scale node=1
docker-compose -f docker-compose.yml up -d --scale node=2

Single node configuration

To bootstrap a single-node cluster, use the docker run command and specify any additional options.

docker run -e DS_LICENSE=accept options