This repository contains two files:
comp.py
- A Python script to generate a Docker Compose file.docker-compose.yaml
- A potential output file generated by thecomp.py
script.
This Python script is designed to generate a Docker Compose file (docker-compose.yaml
) based on the provided variables. The script allows customization through the following variables:
instances
: The number of instances to generate. Default is 25.subnet
: The subnet to be used. Default is "public".version
: The version of the service to deploy. Default is "0.15.2".
Use this script as "post installation" for new bare metals / instances.| You can edit those values : instances=3 subnet="public" version="0.16.0-rc4" memory="2G" cpus="1.0"
To use the comp.py
script, you need to have Python installed. You can run the script with command :
python comp.py