Pipeline optimization: Docker Compose
This guide describes how to deploy the pipeline optimization service (referred to as groundswell in the configuration file) for Seqera Platform Enterprise using Docker Compose.
Prerequisites
Other than the basic requirements already listed in the Pipeline Optimization installation overview, you will need:
- Docker Engine and Docker Compose
New installation
-
Set the
TOWER_ENABLE_GROUNDSWELLenvironment variable intower.envtotrue. This enables the service at the default URLhttp://groundswell:8090.To use a custom URL, set
GROUNDSWELL_SERVER_URLinstead. -
In your docker-compose.yml file, uncomment the
groundswellsection. -
To create a schema on the local MySQL container, uncomment the
init.sqlscript in thevolumessection. -
Download the init.sql file and store it in the mount path of your
docker-compose.yml. -
Start your Platform instance:
docker compose up -d
Existing installation
-
Set the
TOWER_ENABLE_GROUNDSWELLenvironment variable intower.envtotrue.To use a custom URL, set
GROUNDSWELL_SERVER_URLinstead. -
In your docker-compose.yml file, uncomment the
groundswellsection. -
Download the groundswell.env file and update the database URLs:
TOWER_DB_URL=mysql://db:3306/tower
SWELL_DB_URL=mysql://db:3306/swell -
Restart your Platform instance:
docker compose up -d
Verify
When pipeline optimization is active, pipelines with at least one successful run display a lightbulb icon in the Launchpad.
Configuration
See Pipeline optimization for additional configuration options.