This commit is contained in:
2025-11-30 14:39:30 +01:00
parent 8354f41f09
commit 9477960cca
3 changed files with 133 additions and 20 deletions

View File

@@ -3,7 +3,7 @@ import sys
stack_name = sys.argv[1]
INPUT_FILE = f"{stack_name}/docker-compose.yml"
OUTPUT_FILE = f"__swarm/{stack_name}/{stack_name}-stack.yml"
OUTPUT_FILE = f"__swarm/{stack_name}/{stack_name}-swarm.yml"
def convert_ports(ports):
"""Convert short port syntax to Swarm long syntax."""
result = []