diff options
Diffstat (limited to 'scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml')
-rw-r--r-- | scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml b/scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml index 28dfbbf8..9738bcde 100644 --- a/scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml +++ b/scripts/dcaegen2-collectors-datafile/dfc-management/docker-compose.yml @@ -1,9 +1,23 @@ version: '2' +networks: + dfcnet: + external: + name: dfcnet services: dfc: - network_mode: "host" - image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest - container_name: dfc_app + #image fron Nexus + #image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest + image: yanhuanwang/dfc:latest + #local image for test purposes + #image: org.onap.dcaegen2.collectors.datafile.datafile-app-server:latest + container_name: dfc_app0 ports: - "8100:8100" - "8433:8433" + networks: + dfcnet: null + environment: + CONSUL_HOST: "consul-server" + CONSUL_PORT: 8500 + CONFIG_BINDING_SERVICE: "config-binding-service" + HOSTNAME: "dfc_app0" |