| tosca_definitions_version: tosca_simple_yaml_1_0 |
| description: Onboard the exampleservice |
| type: tosca.nodes.Component |
| image: xosproject/xos-rest-gw |
| command: npm start -- --config gateway-config.yml |
| # API Gateway config file |
| /var/www/src/config/gateway-config.yml: |
| type: tosca.nodes.ComponentVolume |
| host_path: { path_join: [ SELF, CONFIG_DIR, ./../common/gateway-config.yml, ENV_VAR ] } |
| relationship: tosca.relationships.VolumeOfComponent |
| type: tosca.nodes.ComponentLink |
| relationship: tosca.relationships.LinkOfComponent |
| type: tosca.nodes.ComponentLink |
| container: cordpodbs_xos_redis_1 |
| relationship: tosca.relationships.LinkOfComponent |