Studios: Docker Compose
This guide describes how to deploy Studios for Seqera Platform Enterprise with Docker Compose.
Prerequisites
Before you begin, you need:
- A running Seqera Platform Enterprise Docker Compose deployment
- A wildcard TLS certificate for your domain (e.g.,
*.example.com) - A wildcard DNS record (e.g.,
*.example.com) - Inbound traffic allowed on port 9090
- Traffic on port 9090 through your load balancer
Procedure
-
Create a folder for Connect metadata:
mkdir -p $HOME/.tower/connect
chmod 777 $HOME/.tower/connect -
Download the Studios environment configuration file.
-
Create an initial OIDC registration token:
oidc_registration_token=$(openssl rand -base64 32 | tr -d /=+ | cut -c -32) -
Generate an RSA public/private key pair:
openssl genrsa -out private.pem 2048
openssl rsa -pubout -in private.pem -out public.pem -
Download the data-studios-rsa.pem file and replace its contents with the content of your private and public key files (private key on top, public key directly beneath it). Save as
data-studios-rsa.pemin the same directory as yourdocker-compose.yml. -
Open
docker-compose.ymland uncomment the volume mount for the PEM key file for thebackendandcronservices:volumes:
- $PWD/tower.yml:/tower.yml
- $PWD/data-studios-rsa.pem:/data-studios-rsa.pem -
Open
data-studios.envand set the following:- Uncomment the
connect-proxyandconnect-serverservices. PLATFORM_URL: The same value asTOWER_SERVER_URL(e.g.,https://example.com).CONNECT_PROXY_URL: A URL for the connect proxy subdomain (e.g.,https://connect.example.com).CONNECT_OIDC_CLIENT_REGISTRATION_TOKEN: The same value asoidc_registration_token.
- Uncomment the
-
Open
tower.envand set the following:TOWER_DATA_EXPLORER_ENABLED: Set totrue.TOWER_DATA_STUDIO_CONNECT_URL: The URL of the Studios connect proxy (e.g.,https://connect.example.com/).TOWER_OIDC_REGISTRATION_INITIAL_ACCESS_TOKEN: The same value asoidc_registration_token.TOWER_OIDC_PEM_PATH: The file path to the PEM certificate (e.g.,/data-studios-rsa.pem).
-
Edit
tower.ymlto enable Studios:tower:
data-studio:
allowed-workspaces: null -
Start your Platform instance:
docker compose up -d -
Verify Studios is available by logging into Seqera and navigating to an organizational workspace. The Studios tab should be displayed.
Configuration
See Studios deployment for DNS configuration, workspace availability, and environment image options.