Update DFC tests to use file based conifg
[integration/csit.git] / scripts / dcaegen2-collectors-datafile / dfc-management / docker-compose.yml
index 9738bcd..14bfad0 100644 (file)
@@ -6,8 +6,7 @@ networks:
 services:
   dfc:
     #image fron Nexus
-    #image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
-    image: yanhuanwang/dfc:latest
+    image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
     #local image for test purposes
     #image: org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest
     container_name: dfc_app0
@@ -16,8 +15,14 @@ services:
       - "8433:8433"
     networks:
       dfcnet: null
+    volumes:
+      - $SIMGROUP_ROOT/tls/:/opt/app/datafile/etc/cert/
+      - $SIMGROUP_ROOT/dfc_config_volume:/app-config
     environment:
       CONSUL_HOST: "consul-server"
       CONSUL_PORT: 8500
       CONFIG_BINDING_SERVICE: "config-binding-service"
+      CONFIG_BINDING_SERVICE_SERVICE_PORT: 10000
       HOSTNAME: "dfc_app0"
+      KNOWN_HOSTS_FILE_PATH: "/home/datafile/.ssh/known_hosts"
+