Add initial implementation of Docker Compose manager and example usage

- Introduced DockerComposeManager class for programmatically creating and managing Docker Compose YAML files.
- Added example script demonstrating usage of DockerComposeManager.
- Created tests for service creation, modification, and removal.
- Included project metadata in pyproject.toml and added linting instructions in copilot-instructions.md.
This commit is contained in:
2025-06-18 03:45:48 +02:00
parent 49e72e82a0
commit 63160d682f
7 changed files with 252 additions and 0 deletions

7
.github/copilot-instructions.md vendored Normal file
View File

@ -0,0 +1,7 @@
This Python library is used to create Docker compose.yaml files from Python classes.
It is designed to simplify the process of defining and managing Docker Compose configurations programmatically.
Uses uv for Python dependency management. `uv sync`, `uv add <package>`.
Ruff is used for linting and formatting. Use `ruff check .` to check the code and `ruff format .` to format it.