Commit b01cdefd authored by Mat's avatar Mat

Explain dockerized build and build environment

parent 3bd7878b
......@@ -36,17 +36,32 @@ A SE scheme provides 3 protocols:
## Compile
Building this software has been tested on Ubuntu 18.04 using openjdk-11.
Run the following command in the top level directory
mvn clean install
## Deployment
### General deployment using Docker-compose
### Build Docker containers
Docker containers are built using the [multistage feature](https://docs.docker.com/develop/develop-images/multistage-build/). There is a builder image in the root directory and deployment images in the subprojects. A *docker-compose* file ties it all together.
Docker enables a containerized easy deployment, the docker-compose configuration file is called docker-compose.yml.
#### Build using docker-compose
docker-compose build
#### Manual build
docker build -t searchitect_builder .
docker build searchitect-backend-dynrh2lev
...
### Deploy using docker-compose
After you have built the docker containers using the commands above, you can run them on your host using
docker-compose up
or
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment