- 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
7 lines
98 B
Python
7 lines
98 B
Python
from typing import TypedDict
|
|
|
|
|
|
class DockerService(TypedDict):
|
|
name: str
|
|
ports: list[int]
|