blob: 20852d165192cb6b088e1d664c368cb110997443 [file] [log] [blame]
Scott Baker8ed63bb2016-07-07 14:20:08 -07001tosca_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: devel
16 db_container_name: develbs_xos_db_1
Scott Baker8ed63bb2016-07-07 14:20:08 -070017
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
27
28 /root/setup:
29 type: tosca.nodes.XOSVolume
30 properties:
31 host_path: { path_join: [ SELF, CONFIG_DIR, ../setup, ENV_VAR ] }
32 read_only: false
33 requirements:
34 - xos:
35 node: xos
Scott Baker785f7112016-08-19 10:04:05 -070036 relationship: tosca.relationships.UsedByXOS
37
38 /opt/xos/images:
39 type: tosca.nodes.XOSVolume
40 properties:
41 host_path: { path_join: [ SELF, CONFIG_DIR, images, ENV_VAR ] }
42 read_only: true
43 requirements:
44 - xos:
45 node: xos
Scott Baker8ed63bb2016-07-07 14:20:08 -070046 relationship: tosca.relationships.UsedByXOS