Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 1 | tosca_definitions_version: tosca_simple_yaml_1_0 |
| 2 | |
| 3 | description: Onboard the exampleservice |
| 4 | |
| 5 | imports: |
| 6 | - custom_types/xos.yaml |
| 7 | |
| 8 | topology_template: |
| 9 | node_templates: |
| 10 | |
| 11 | # UI Container |
| 12 | xos-spa-gui: |
| 13 | type: tosca.nodes.Component |
| 14 | properties: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 15 | name: xos-spa-gui |
| 16 | image: xosproject/xos-gui |
| 17 | ports: 4000:4000 |
| 18 | |
| 19 | gui-to-gw: |
| 20 | type: tosca.nodes.ComponentLink |
| 21 | properties: |
| 22 | container: xos-rest-gateway |
| 23 | alias: xos-rest-gw |
| 24 | kind: internal |
| 25 | requirements: |
| 26 | - xos: |
| 27 | node: xos-spa-gui |
| 28 | relationship: tosca.relationships.LinkOfComponent |