Docker Compose
This guide assumes that all prerequisites have been met. Visit the corresponding Prerequisites page for your infrastructure provider.
Seqera recommends configuring your database or Redis details in either the tower.yml
or the docker-compose.yml
, but not both.
In order for your DB or Redis volume to persist after a Docker restart, uncomment the volumes
key in the db
or redis
section of your docker-compose.yml
file. Use this section to specify a local path to the DB or Redis instance.
Deploy Seqera Enterprise#
-
Download and configure the tower.env file.
-
Download and configure the tower.yml file and update values for allowed emails.
-
Download and configure the docker-compose.yml file.
The
db
andmail
containers should only be used for local testing. If you have configured these services elsewhere, you can remove these containers.Customize the
TOWER_ENABLE_PLATFORMS
variable to include the execution platform(s) you will use. -
Deploy the application and wait for it to initialize (this process takes a few minutes):
1
docker-compose up
For more information on configuration, see Configuration options.
Test the application#
To ensure that Seqera Enterprise is properly configured, follow these steps:
-
Log in to the application.
-
Create an organization.
-
Create a workspace within the organization.
-
Create a new Compute environment. See Compute environments for detailed instructions.
-
Select Quick Launch from the Launchpad tab in your workspace.
-
Enter the repository URL for the
nf-core/rnaseq
pipeline (https://github.com/nf-core/rnaseq
). -
In the Config profiles drop-down menu, select the
test
profile. -
In Pipeline parameters, change the output directory to a location based on your compute environment:
1 2 3 4 5
# save to S3 bucket outdir: s3://<your-bucket>/results # save to scratch directory (Kubernetes) outdir: /scratch/results
-
Select Launch; you'll be redirected to the Runs tab for the workflow. After a few minutes, progress logs will be listed in that workflow's Execution log tab.
When you've confirmed that Seqera Enterprise is correctly configured and you can launch workflows, run docker-compose up -d
to deploy the application as a background process. You can then disconnect from the VM instance.