diff --git a/unfurl/configurators/templates/docker.py b/unfurl/configurators/templates/docker.py index 92593613..a32e2003 100644 --- a/unfurl/configurators/templates/docker.py +++ b/unfurl/configurators/templates/docker.py @@ -54,7 +54,7 @@ class unfurl_datatypes_DockerContainer(OpenDataType): ] = None network_mode: Union[str, None] = None """Use the same values as the docker client --network parameter ("bridge", "host", "none")""" - + deploy: Union[Dict[str, Any], None] = None class unfurl_nodes_Container_Application_Docker(tosca.nodes.Root): _type_name = "unfurl.nodes.Container.Application.Docker" diff --git a/unfurl/configurators/templates/docker.yaml b/unfurl/configurators/templates/docker.yaml index 294eda03..8ccfe860 100644 --- a/unfurl/configurators/templates/docker.yaml +++ b/unfurl/configurators/templates/docker.yaml @@ -66,6 +66,9 @@ data_types: description: Use the same values as the docker client --network parameter ("bridge", "host", "none") type: string required: false + deploy: + type: map + required: false node_types: unfurl.nodes.Container.Application.Docker: