Docker compose
Docker compose Configuration
To start with the upgrade, on the Akamas server navigate to the same folder where the docker-compose.yml and .env file are stored (see section Get Akamas Docker artifacts). Now you can download the latest version compose file:
mv docker-compose.yml docker-compose.yml.bak
curl -O https://s3.us-east-2.amazonaws.com/akamas/compose/3.3.1/docker-compose.ymlYou can point to a specific version. As an example to download the artifact for version 3.2.2:
curl -O https://s3.us-east-2.amazonaws.com/akamas/compose/3.2.2/docker-compose.ymlIf the old docker-compose has been changed and it is still needed in the newer Akamas version, make sure to migrate such changes from docker-compose.yml.bak to the docker-compose.yml .
Ensure your .env file is up to date with the required variables, by comparing your version with the one at Configure Akamas environment variables.
Then log in to AWS with the following command:
aws ecr get-login-password --region us-east-2 | docker login --username AWS --password-stdin 485790562880.dkr.ecr.us-east-2.amazonaws.comIf the login succeeds, then you can start the upgrade by running:
docker compose up -dWait for a few minutes and check the Akamas services are running the command:
akamas status -dThe expected output should be like the following (repeat the command after a minute or two if the last line is not "OK" as expected):
Checking Akamas services on http://localhost:8000
service status
=========================
analyzer UP
campaign UP
metrics UP
optimizer UP
orchestrator UP
system UP
telemetry UP
license UP
log UP
users UP
OKLast updated
Was this helpful?