Add the crontab for aai to save the datasnapshot
[aai/test-config.git] / docker-compose-app.yml
index 3ae78ce..68bcf2b 100644 (file)
@@ -9,6 +9,7 @@ services:
       - CHEF_BRANCH=master
       - CHEF_GIT_URL=http://gerrit.onap.org/r/aai
       - AAI_CORE_VERSION=1.1.0-SNAPSHOT
+      - LOCAL_USER_ID=${USER_ID}
     ports:
       - 8447:8447
     volumes:
@@ -27,6 +28,7 @@ services:
       - CHEF_BRANCH=master
       - CHEF_GIT_URL=http://gerrit.onap.org/r/aai
       - AAI_CORE_VERSION=1.1.0-SNAPSHOT
+      - LOCAL_USER_ID=${USER_ID}
     volumes:
       - ${TRAVERSAL_LOGS}:/opt/aai/logroot/AAI-GQ
     ports:
@@ -57,7 +59,7 @@ services:
     hostname: aai.searchservice.simpledemo.openecomp.org
     volumes:
       - ${SEARCH_LOGS}:/logs
-      - /opt/app/search-data-service/appconfig:/opt/app/search-data-service/config
+      - /opt/test-config/search-data-service/appconfig:/opt/app/search-data-service/config
     ports:
       - 9509:9509
     environment:
@@ -71,17 +73,17 @@ services:
         max-file: "5"
 
   datarouter:
-    image: ${DOCKER_REGISTRY}/openecomp/datarouter-service
-    hostname: datarouter
+    image: ${DOCKER_REGISTRY}/openecomp/data-router
+    hostname: data-router
     volumes:
-      - ${DATA-ROUTER_LOGS}:/logs
-      - /opt/app/datarouter-service/appconfig:/opt/app/data-router/config
-      - /opt/app/datarouter-service/dynamic:/opt/app/data-router/dynamic
+      - ${DATA_ROUTER_LOGS}:/logs
+      - /opt/test-config/data-router/appconfig:/opt/app/data-router/config
+      - /opt/test-config/data-router/dynamic:/opt/app/data-router/dynamic
     ports:
       - 9502:9502
     environment:
       - CONFIG_HOME=/opt/app/data-router/config/
-      - KEY_STORE_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
+      - KEY_STORE_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
       - KEY_MANAGER_PASSWORD=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
       - DYNAMIC_ROUTES=/opt/app/data-router/dynamic/routes
       - SERVICE_BEANS=/opt/app/data-router/dynamic/conf
@@ -95,8 +97,8 @@ services:
     image: ${DOCKER_REGISTRY}/openecomp/model-loader
     hostname: model-loader
     volumes:
-      - ${MODEL-LOADER_LOGS}:/logs
-      - /opt/app/model-loader/appconfig:/opt/app/model-loader/config
+      - ${MODEL_LOADER_LOGS}:/logs
+      - /opt/test-config/model-loader/appconfig:/opt/app/model-loader/config
     environment:
       - CONFIG_HOME=/opt/app/model-loader/config/
     logging:
@@ -105,6 +107,24 @@ services:
         max-size: "30m"
         max-file: "5"
 
+  sparky-be:
+    image: ${DOCKER_REGISTRY}/openecomp/sparky-be
+    hostname: sparky-be
+    volumes:
+      - ${UI_LOGS}:/logs
+      - /opt/test-config/sparky/appconfig:/opt/app/sparky/config
+    ports:
+      - 9517:9517
+    environment:
+      - CONFIG_HOME=/opt/app/sparky/config
+      - KEY_STORE_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
+      - KEY_MANAGER_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
+    logging:
+      driver: "json-file"
+      options:
+        max-size: "30m"
+        max-file: "5"
+        
 networks:
   default:
       driver: bridge