Add port config to deployment spec. #498

Merged
telackey merged 9 commits from telackey/justports into main 2023-08-11 20:25:54 +00:00
Showing only changes of commit 53101862f2 - Show all commits

View File

@ -169,9 +169,9 @@ def init(ctx, output):
if verbose:
print(f"Creating spec file for stack: {stack}")
ports = _get_named_volumes(stack)
ports = _get_ports(stack)
if ports:
spec_file_content["ports"] = _get_ports(stack)
spec_file_content["ports"] = ports
named_volumes = _get_named_volumes(stack)
if named_volumes: