Versions Compared

Key

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

...

After this you can finally build and run the app!

Building docker-compose

In order to build and run container you have to do following:

Code Block
> cd docker-compose/build
> ./build.sh
> cd ..
> docker-compose up 


Starting the container is quite simple, all you have to do is to run:

Code Block
> docker-compose run

...

Building single-container

Once Catalog QT 2 is in place, you can build the container.

Code Block
> docker build -t catalogqt .

...



Info

Please note that for tagged release you have to specify tag of the imas-notify project. You can do it following way

Code Block
> docker build -t catalogqt --build-arg INOTIFY_TAG=0.4 .



Starting the container is quite simple, all you have to do is to run


Code Block
> docker run -i -t --name catalogqt_test catalogqt

...


Once inside, you are "logged in" as user imas. All Catalogue QT related services are started automatically.


Exposing Spring Boot based Web Services to the outside world

If you want to access Catalog QT WS API outside of the container, you can expose its ports:

> docker run -i -t -p 8080:8080 --name catalogqt_test catalogqt




...