blob: 7ad92f1da7cf175dbada89a5fb26f97e6496c904 [file] [log] [blame]
Rizwan Haider752a48c2016-08-18 15:37:06 -04001tosca_definitions_version: tosca_simple_yaml_1_0
2
3description: Onboard the exampleservice
4
5imports:
6 - custom_types/xos.yaml
7
8topology_template:
9 node_templates:
10 xos:
11 type: tosca.nodes.XOS
12 properties:
13 ui_port: 9999
14 bootstrap_ui_port: 9998
15 docker_project_name: metronetwork
16 db_container_name: metronetworkdbs_xos_db_1
17
18 /opt/xos/xos_configuration/xos_common_config:
19 type: tosca.nodes.XOSVolume
20 properties:
21 host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] }
22 read_only: false
23 requirements:
24 - xos:
25 node: xos
26 relationship: tosca.relationships.UsedByXOS