...
Our codes are open-source and you can find them in here: https://github.com/mkopsnc/catalogue_qt_docker
Please follow the instruction with cloning just the catalogue_qt_docker.
Info |
---|
Make sure that you clones the repo and you have access to catalog_qt_2' codes in /build folder and you can succesfully login to
|
Our app includes 4 components:
- Catalog QT Web Services
- Update Process
- Imas Inotify
- MySQL
.
We have two docker containers that containes all of the above components.
- docker compose - the app is built of independent dockers that are connected to each other. According to the idea of microservices.
- single-container - mailny mainly used by developers, all components are built on the basis of one Dockerfile, which creates one container.
Moreover we have few options with authetincation you can enable/disable before building your own app by uncommenting/commenting particular lines in one file which is:
...
Docker-compose installation
This container is desined to simplify installation of Catalogue QT and it's components. Instead of installing it on `IMAS` compatible platform you can use it on virtually any machine.
Info |
---|
If you are installing our docker for the first time please go to the next section of this documentation. Otherwise you have access to all of our repositories and can build docker easily as follows: |
Code Block |
---|
> git clone https://github.com/mkopsnc/catalogue_qt_docker.git
> cd docker-compose/build
> ./build.sh
> cd ..
> ./run.sh -s notoken |
Prepare your work environment
In order to build this container, you will need access to few repositories. This container is based on:
imas/ual
catalog_qt_2
dashboard-ReactJS
imas-watchdog
Make sure you can access imas/ual
This Catalogue Qt 2 Docker image is based on imas/ual Docker image. It is available from Docker registry rhus-71.man.poznan.pl.
Before you proceed, make sure you can access the registry. You can test it by executing following command.
Code Block |
---|
> docker login rhus-71.man.poznan.pl |
You will be asked for a user name and password. If you don't have it, contact developer of this project.
Make sure you can access catalog_qt_2
You will also need an access to `catalog_qt_2` project. Make sure you can access it.
Code Block |
---|
> git clone --single-branch develop https://YOUR_USER_NAME@gforge6.eufus.eu/git/catalog_qt_2 |
You will be asked for a user name and password. If you don't have it, contact developer of this project.
Make sure you can access dashboard-ReactJS
Docker image that contains Dashboard application can be downloaded from a Docker registry registry.apps.man.poznan.pl
. Before you proceed, make sure you can access the registry. You can test it by executing following command:
Code Block |
---|
> docker login registry.apps.man.poznan.pl/f4f/dashboard-ui/assets:branch-develop |
Note |
---|
Note! Running Dashboard locally requires an entry inside |
Code Block |
---|
127.0.0.1 localhost.dashboard-ui.pl |
Make sure you can access imas-watchdog project
This repository is publicly available. All you have to do, is to double check whether you can clone it in docker-compose/build
folder.
Code Block |
---|
> git clone --single-branch master https://github.com/tzok/imas-watchdog.git |
Anatomy of application.properties file
...