chore: refactor all docker logic files structure

- Implement compose.py with functions to find compose files, list services, and aggregate service info
- Add editor.py for changing service ports with backup support
- Define DockerService model in models.py
- Refactor ports.py to support new port mapping logic and helpers
- Expose Docker Compose utilities in __init__.py
This commit is contained in:
2026-04-12 19:46:48 +00:00
committed by reloia
Unverified
parent 27ca642338
commit 4fa25355e7
6 changed files with 178 additions and 141 deletions
+6
View File
@@ -0,0 +1,6 @@
from typing import TypedDict
class DockerService(TypedDict):
name: str
ports: list[int]