diff options
author | Andrew Gauld <agauld@att.com> | 2020-01-21 14:47:38 +0000 |
---|---|---|
committer | Andrew Gauld <agauld@att.com> | 2020-01-21 19:41:32 +0000 |
commit | 3fb91dc34bcde5489681f6470cae7f01c8b246d0 (patch) | |
tree | 8c6a330a1dc1084c8ff99ee4e418838fe9ecfbd8 /mod/genprocessor/docker/README.md | |
parent | 86a040e87585d176dee6f215d5d46a2a74c1366e (diff) |
runtimeapi & genprocessor pom.xml docker changes
Change-Id: I1595bf1c08dae161530c4dcdbc3e53b909164a10
Issue-ID: DCAEGEN2-1860
Signed-off-by: Andrew Gauld <agauld@att.com>
Diffstat (limited to 'mod/genprocessor/docker/README.md')
-rw-r--r-- | mod/genprocessor/docker/README.md | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/mod/genprocessor/docker/README.md b/mod/genprocessor/docker/README.md deleted file mode 100644 index 47bdc14..0000000 --- a/mod/genprocessor/docker/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# Genprocessor: Docker - -`http` - http server that serves up the DCAE Nifi jars as files under the path `/nifi-jars` -`job` - background job that continuously polls the onboarding API for components and generates jars from components - -The usage here will assume the use of a docker volume to persist data. - -Create a volume: - -``` -docker volume create genprocessor -``` - -## job - -Build: - -``` -$ cd ../ -$ docker build -t genprocessor-job -f docker/job/Dockerfile . -``` - -Run: - -``` -docker run -v genprocessor:/work -e GENPROC_ONBOARDING_API_HOST=http://some-hostname/onboarding -d genprocessor-job -``` - -NOTE: Above onboarding API is to the one running in iLab. - -Run as part of the stack: - -``` -docker run -v genprocessor:/work --link onboarding-api:onboarding-api -d genprocessor-job -``` - -## http - -Build: - -``` -$ cd http -$ docker build -t genprocessor-http . -``` - -Run: - -``` -$ docker run -p 8080:80 -d -v genprocessor:/www/data:ro genprocessor-http -``` - |