Files
thePlug/app/utils/docker/models.py
T
reloia 4fa25355e7 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
2026-04-12 19:46:48 +00:00

7 lines
98 B
Python

from typing import TypedDict
class DockerService(TypedDict):
name: str
ports: list[int]