Skip to content

Commit

Permalink
Added host requirement for dockerized component
Browse files Browse the repository at this point in the history
Added host requirement for dockerized component
  • Loading branch information
dradX authored Mar 4, 2021
1 parent beceebb commit 050841e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/docker_component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ node_types:
description: IP address of dockerized component
type: string
requirements:
- host:
capability: tosca.capabilities.Compute
node: tosca.nodes.SoftwareComponent
relationship: tosca.relationships.HostedOn
- network:
capability: tosca.capabilities.Network
node: sodalite.nodes.DockerNetwork
Expand All @@ -111,6 +115,7 @@ node_types:
node: sodalite.nodes.DockerRegistry
relationship: tosca.relationships.DependsOn
occurrences: [ 1, 1 ]

interfaces:
Standard:
type: tosca.interfaces.node.lifecycle.Standard
Expand Down

0 comments on commit 050841e

Please sign in to comment.