Kompozit
ℹ️ Mostly likely you may want to use Use multiple Compose files in Docker Compose itself.
Declarative Configuration Management Tool for Docker Compose.
Like kustomize.io, but for Docker Compose.

Features
Kompozit simplifies complex Docker Compose setups using declarative overlays, supporting:
patchesJSON6902: Precise modifications with JSON Merge Patch.patchesStrategicMerge: Flexible hierarchical changes with Strategic Merge Patch.
Resources
🛠️ Examples
🗂️ Github Repo
But Why...? 🤔
There are scenarios where you might need different Docker Compose configurations for the same application on different machines.
For example, I use slightly different configurations for the Traefik reverse proxy when managing my public WordPress site versus my home server. Instead of maintaining multiple, slightly different
docker-compose.ymlfiles for the same app, you can use kompozit to simplify and manage these variations efficiently.
Additionally, kompozit allows you to combine multiple docker-compose.yml files into a single stack.
For instance, you can keep a generic
docker-compose.ymlfor PostgreSQL in a central location and customize it for different stacks in other locations as needed.
Installation 💻
PyPi
https://pypi.org/project/kompozit/
Docker
https://hub.docker.com/r/veerendra2/kompozit
Usage Examples ⚙️
Local Development 🔧
Last updated