mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-07-26 16:21:21 +00:00
wip
This commit is contained in:
@@ -32,6 +32,8 @@ for service_name, service in stack.items():
|
||||
links[service_name] = []
|
||||
links[service_name].append(link)
|
||||
del service["links"]
|
||||
if "ports" in service:
|
||||
del service["ports"]
|
||||
|
||||
yaml.safe_dump(stack, open(output_file, "w"))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user