This script generates a docker-compose.yml file with a specified number of services,
each assigned a unique subnet and IP address. It's useful when you need strict network isolation
between containers (e.g., for proxy rotation, simulation environments, or testing purposes).
- Generates services with individual
/30subnets (2 usable IPs). - Assigns a unique static IP to each container.
- Prevents duplicate subnets.
- Fully templated via Jinja2.
- Easy to customize and extend.
- Python 3.6+
- Jinja2
Install dependencies (if needed):
pip install jinja2