mirror of
https://github.com/bestnite/quadlet-migrator-skill.git
synced 2026-04-26 19:21:53 +00:00
Skill: harden decision gates and port conflict detection
- Elevate deployment mode (rootless/rootful) and volume strategy to required planning items and hard-stop bullets - Add host port conflict detection for PublishPort= in planning, hard stops, compose-mapping, and validation checklist - Add execution-phase confirmation gate before writing files - Add degradation rule for unavailable structured input tools
This commit is contained in:
@@ -51,6 +51,7 @@ Use this file when converting `docker-compose.yml` or `compose.yaml` into Quadle
|
||||
|
||||
- For a standalone service, map to `PublishPort=` on the `.container`.
|
||||
- For a pod-based topology, prefer `PublishPort=` on the `.pod` when the published ports belong to the pod boundary rather than one child container.
|
||||
- When `PublishPort=` maps a host-side port, detect whether that host port is already in use before finalizing the mapping. Check for TCP/UDP listeners on the host using an available port-detection method. If a conflict is found, stop and ask the user whether to change the host port, skip the mapping, or resolve the conflict manually. Do not silently remap occupied host ports to an alternative.
|
||||
|
||||
### `volumes`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user