Skip to content

jstarstech/docknetgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Compose Networks Generator

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).

Features

  • Generates services with individual /30 subnets (2 usable IPs).
  • Assigns a unique static IP to each container.
  • Prevents duplicate subnets.
  • Fully templated via Jinja2.
  • Easy to customize and extend.

Requirements

Install dependencies (if needed):

pip install jinja2

About

Docker Compose Networks Generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors