Docker
For ease of use, we have provided a Dockerfile that contains all the necessary dependencies to run the application. This is the recommended way to run the application.
Prerequisites
Installation
-
Clone the repository:
git clone https://github.com/ddu72/PI
-
Change to the project directory:
cd PI
-
Build the Docker image:
docker-compose build
-
Start the target services:
docker-compose up [proxy, server, api, normalizer] -d
!Note: The
-d
flag is optional and runs the services in detached mode.!Note: The each service will start its dependencies automatically, for example, the
proxy
service will start all theserver
services and theserver
service will start thenormalizer
service.
The services are now running and ready to be used. See How to Use for more information.
Stopping the Services
To stop the services, run the following command:
docker-compose down
Removing the Docker Image
To remove the Docker image, run the following command:
docker-compose down --rmi all