Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

languagebash

...

One can create docker image locally from code using following command from /so/packages/docker:

Code Block
languagebash
$ mvn clean install -U -DskipTests=true -DdockerDmaven.test.skip.build=falsetrue -DdockerDmaven.javadoc.skip.push=true -Dadditionalparam=-Xdoclint:none -P docker

For creating docker image you need to run the above command from /so/package/docker

To run the docker images go to /docker-config folder which was cloned from the above command and run the command 

Code Block
languagebash
$ docker-compose up -d

SO docker deployment

For initialization of docker there are 2 deployment options currently adpoted in ONAP:
- using heat template
- using OOM

...

To see the various logs on can go to /app/log folder inside corresponding pod e.g. /app/logs/bpmn for bpmn related logs.

Code Block
languagebash