blob: ffaa580e0e4f0801538dd688bea9617bd78372fd [file] [log] [blame]
Chengkai Yan7f278e32018-11-06 16:32:03 +01001.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3
4Installation
5============
6
7An environment suitable for running docker containers is recommended.
8
9As a docker container
10---------------------
11
12**datafile** is delivered as a docker container based on openjdk:8-jre-alpine. The
13host or VM that will run this container must have the docker application
14loaded and available to the userID that will be running the DFC container.
15
16Also required is a working DMAAP/MR and DMAAP/DR environment. datafile
17subscribes to DMAAP/MR fileReady event as JSON messages and publishes the downloaded files to the DMAAP/DR.
18
19Installation
20^^^^^^^^^^^^
21
22The following command will download the latest datafile container from
23nexus and launch it in the container named "datafile":
24
25 ``docker run -d -p 8100:8100 -p 8433:8433 nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.datafile``