Andy Bavier | 094e716 | 2016-11-02 17:01:22 -0400 | [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 | xos: |
| 11 | type: tosca.nodes.XOS |
| 12 | properties: |
Matteo Scandolo | a317b87 | 2017-01-10 12:02:41 -0800 | [diff] [blame] | 13 | ui_port: 9000 |
| 14 | bootstrap_ui_port: 9001 |
Andy Bavier | 094e716 | 2016-11-02 17:01:22 -0400 | [diff] [blame] | 15 | docker_project_name: globalxos |
| 16 | db_container_name: globalxosbs_xos_db_1 |
| 17 | frontend_only: false |
| 18 | |
| 19 | /opt/xos/xos_configuration/xos_common_config: |
| 20 | type: tosca.nodes.XOSVolume |
| 21 | properties: |
| 22 | host_path: { path_join: [ SELF, CONFIG_DIR, ../common/xos_common_config, ENV_VAR ] } |
| 23 | read_only: false |
| 24 | requirements: |
| 25 | - xos: |
| 26 | node: xos |
| 27 | relationship: tosca.relationships.UsedByXOS |
| 28 | |
| 29 | /opt/xos/core/templatetags: |
| 30 | type: tosca.nodes.XOSVolume |
| 31 | properties: |
| 32 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/templatetags/, ENV_VAR ] } |
| 33 | read_only: false |
| 34 | requirements: |
| 35 | - xos: |
| 36 | node: xos |
| 37 | relationship: tosca.relationships.UsedByXOS |
| 38 | |
| 39 | /opt/xos/core/xoslib/dashboards: |
| 40 | type: tosca.nodes.XOSVolume |
| 41 | properties: |
| 42 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/dashboards/, ENV_VAR ] } |
| 43 | read_only: false |
| 44 | requirements: |
| 45 | - xos: |
| 46 | node: xos |
| 47 | relationship: tosca.relationships.UsedByXOS |
| 48 | |
| 49 | /opt/xos/core/xoslib/static/css: |
| 50 | type: tosca.nodes.XOSVolume |
| 51 | properties: |
| 52 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/css/, ENV_VAR ] } |
| 53 | read_only: false |
| 54 | requirements: |
| 55 | - xos: |
| 56 | node: xos |
| 57 | relationship: tosca.relationships.UsedByXOS |
| 58 | |
| 59 | /opt/xos/core/xoslib/static/images: |
| 60 | type: tosca.nodes.XOSVolume |
| 61 | properties: |
| 62 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/images/, ENV_VAR ] } |
| 63 | read_only: false |
| 64 | requirements: |
| 65 | - xos: |
| 66 | node: xos |
| 67 | relationship: tosca.relationships.UsedByXOS |
| 68 | |
| 69 | /opt/xos/core/xoslib/static/js: |
| 70 | type: tosca.nodes.XOSVolume |
| 71 | properties: |
| 72 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/xoslib/static/js/, ENV_VAR ] } |
| 73 | read_only: false |
| 74 | requirements: |
| 75 | - xos: |
| 76 | node: xos |
| 77 | relationship: tosca.relationships.UsedByXOS |
| 78 | |
| 79 | /opt/xos/templates: |
| 80 | type: tosca.nodes.XOSVolume |
| 81 | properties: |
| 82 | host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/templates/, ENV_VAR ] } |
| 83 | read_only: false |
| 84 | requirements: |
| 85 | - xos: |
| 86 | node: xos |
| 87 | relationship: tosca.relationships.UsedByXOS |
| 88 | |
| 89 | # The following volumes are sometimes used in development, |
| 90 | # but they are not tested and they can break part of the system, handle with care. |
| 91 | |
| 92 | # /opt/xos/tosca: |
| 93 | # type: tosca.nodes.XOSVolume |
| 94 | # properties: |
| 95 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/tosca/, ENV_VAR ] } |
| 96 | # read_only: false |
| 97 | # requirements: |
| 98 | # - xos: |
| 99 | # node: xos |
| 100 | # relationship: tosca.relationships.UsedByXOS |
| 101 | |
| 102 | # /opt/xos/xos: |
| 103 | # type: tosca.nodes.XOSVolume |
| 104 | # properties: |
| 105 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/xos/, ENV_VAR ] } |
| 106 | # read_only: false |
| 107 | # requirements: |
| 108 | # - xos: |
| 109 | # node: xos |
| 110 | # relationship: tosca.relationships.UsedByXOS |
| 111 | |
| 112 | # /opt/xos/core/models: |
| 113 | # type: tosca.nodes.XOSVolume |
| 114 | # properties: |
| 115 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/core/models/, ENV_VAR ] } |
| 116 | # read_only: false |
| 117 | # requirements: |
| 118 | # - xos: |
| 119 | # node: xos |
| 120 | # relationship: tosca.relationships.UsedByXOS |
| 121 | |
| 122 | # /opt/xos/api/utility: |
| 123 | # type: tosca.nodes.XOSVolume |
| 124 | # properties: |
| 125 | # host_path: { path_join: [ SELF, CONFIG_DIR, ../../xos/xos/api/utility/, ENV_VAR ] } |
| 126 | # read_only: false |
| 127 | # requirements: |
| 128 | # - xos: |
| 129 | # node: xos |
| 130 | # relationship: tosca.relationships.UsedByXOS |