Mounting UI config file
Change-Id: Ib5ceb89ffdd7b37afe7d5d72031ed440974dd3ab
diff --git a/metronetwork/xos-gui.yaml b/metronetwork/xos-gui.yaml
index 457e946..ac50a71 100644
--- a/metronetwork/xos-gui.yaml
+++ b/metronetwork/xos-gui.yaml
@@ -16,6 +16,17 @@
name: xos-spa-gui
image: xosproject/xos-gui
ports: 4000:4000
+
+ # UI Style Config
+ /var/www/dist/style.config.js:
+ type: tosca.nodes.ComponentVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ./ui-style-config.js, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos-spa-gui
+ relationship: tosca.relationships.VolumeOfComponent
gui-to-gw:
type: tosca.nodes.ComponentLink