Sharing folders in frontend config
Change-Id: Ieb1178f5379323e41c5c9200bad7ba7dd87572cb
diff --git a/xos/configurations/frontend/xos.yaml b/xos/configurations/frontend/xos.yaml
index 2b226fd..021eb49 100644
--- a/xos/configurations/frontend/xos.yaml
+++ b/xos/configurations/frontend/xos.yaml
@@ -16,6 +16,7 @@
db_container_name: frontendbs_xos_db_1
frontend_only: true
+ # Common config folder
/opt/xos/xos_configuration/xos_common_config:
type: tosca.nodes.XOSVolume
properties:
@@ -36,6 +37,40 @@
node: xos
relationship: tosca.relationships.UsedByXOS
+ # Frontend Config
+ /opt/xos/configurations/frontend:
+ type: tosca.nodes.XOSVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ./, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos
+ relationship: tosca.relationships.UsedByXOS
+
+ # API Folder
+ /opt/xos/api:
+ type: tosca.nodes.XOSVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ../../api/, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos
+ relationship: tosca.relationships.UsedByXOS
+
+ # Core Folder
+ /opt/xos/core:
+ type: tosca.nodes.XOSVolume
+ properties:
+ host_path: { path_join: [ SELF, CONFIG_DIR, ../../core/, ENV_VAR ] }
+ read_only: false
+ requirements:
+ - xos:
+ node: xos
+ relationship: tosca.relationships.UsedByXOS
+
+ # View Folder
/opt/xos/core/xoslib/static:
type: tosca.nodes.XOSVolume
properties: