blob: ee6be6b0d7a398cf4cbfb96d0bf77663eb7ed3c7 [file] [log] [blame]
Scott Baker50421662016-06-27 22:09:48 -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: teststandalone
16 db_container_name: teststandalonebs_xos_db_1
17 frontend_only: true
18 source_ui_image: xosproject/xos-test
19
20 /opt/xos/xos_configuration/xos_common_config:
21 type: tosca.nodes.XOSVolume
22 properties:
23 host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] }
24 read_only: false
25 requirements:
26 - xos:
27 node: xos
28 relationship: tosca.relationships.UsedByXOS
Matteo Scandoloa8161502016-07-07 11:33:27 -070029
30 /opt/xos/api/utility:
31 type: tosca.nodes.XOSVolume
32 properties:
33 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility, ENV_VAR ] }
34 read_only: false
35 requirements:
36 - xos:
37 node: xos
38 relationship: tosca.relationships.UsedByXOS
39
40 /opt/xos/tests:
41 type: tosca.nodes.XOSVolume
42 properties:
43 host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tests, ENV_VAR ] }
44 read_only: false
45 requirements:
46 - xos:
47 node: xos
48 relationship: tosca.relationships.UsedByXOS