Versions Compared

Key

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

...

mvn clean install -Pdocker
image2019-3-28_18-59-56.png

Start Docker containers using docker-composer

Navigate to the docker-compose file in the distribution module:

    cd application/src/main/dc/

From there, start the containers(unfortunately, this default docker-compose.yaml does not work properly in my env, I have to revise it a little bit manully. Fast track, just copy https://gitlab.com/yanhuanwang/cds/blob/master/docker-compose.yaml):

    docker-compose up -d

This will spin the Docker containers declared inside the docker-compose.yaml file in the background:

Image Modified

To verify the logs generated by docker-composer, type:

    docker-compose logs -f

Testing the environment

create CBA file:

curl -u ccsdkapps:ccsdkapps http://localhost:8000/api/v1/blueprint-model/ | json_pp