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:
@@ -0,0 +1,6 @@
|
||||
from typing import TypedDict
|
||||
|
||||
|
||||
class DockerService(TypedDict):
|
||||
name: str
|
||||
ports: list[int]
|
||||
Reference in New Issue
Block a user