blob: b22513a400c9e1b37eb411675ae877b33680d6c9 [file] [log] [blame]
tosca_definitions_version: tosca_simple_yaml_1_0
description: Onboard the exampleservice
imports:
- custom_types/xos.yaml
topology_template:
node_templates:
xos:
type: tosca.nodes.XOS
properties:
ui_port: 9000
bootstrap_ui_port: 9001
docker_project_name: teststandalone
db_container_name: teststandalonebs_xos_db_1
frontend_only: true
source_ui_image: xosproject/xos-test
/opt/xos/core/xos_common_config:
type: tosca.nodes.XOSVolume
properties:
host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] }
read_only: false
requirements:
- xos:
node: xos
relationship: tosca.relationships.UsedByXOS
/opt/xos/api/utility:
type: tosca.nodes.XOSVolume
properties:
host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility, ENV_VAR ] }
read_only: false
requirements:
- xos:
node: xos
relationship: tosca.relationships.UsedByXOS
/opt/xos/tests:
type: tosca.nodes.XOSVolume
properties:
host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tests, ENV_VAR ] }
read_only: false
requirements:
- xos:
node: xos
relationship: tosca.relationships.UsedByXOS