Performance PCE runs inside a Docker container. The following steps outline how to setup Docker on a Linux machine and start the PCE container.
To follow these instructions, you will need a Linux server / VM with internet access.
The following has been tested on Ubuntu 64-bit (LTS) 16.04 and 18.04.
Download or copy the docker-compose.yml file supplied by AFD to your Linux server, e.g. /home/user/afdpce/.
If you do not already have a Docker Compose file please contact AFD Support on 01624 811712 or firstname.lastname@example.org and we will provide one for you.
If you do not already have Docker installed, the following command will install the latest version for you, otherwise, skip to the next step to install Docker-compose.
sudo apt-get update curl https://get.docker.com | sh
If you do not already have docker-compose installed, the following command will do this for you, otherwise skip to the next step.
curl http://download.afd.co.uk/getdocker-compose.sh | sh
Once installation is completed the command shell should report the versions of Docker and Docker-compose, e.g.
Docker version 18.06.1-ce, build e68fc7a Docker-compose version 1.22.0, build f46880fe
Change to the directory where your docker-compose.yml file is stored, e.g.
sudo docker-compose up -d
If all services show "done" then you will be able to send requests to the server IP address on port 8081.
Note: It may take a few minutes for the latest data files to download once the services start up.
At this point, regular docker-compose and docker commands can be used to interact with the running services if required.