Transition from admin-docker-agent to Docker Compose
R2026bDocker Compose is the recommended method for installing Polyspace®
Access™. If you currently use admin-docker-agent to manage your
installation, follow these steps to transition to Docker Compose while preserving your
existing data and configuration.
Back Up Database and Prepare Configuration Files
Back up your database. The database volume path is shown in the Cluster Admin under the Data volume field of the Polyspace Access Database service settings. For more information, see Back Up Polyspace Access Database.
Download and extract the Docker Compose installation package from the MathWorks® Download page. For more information about extracting the installation package, see Install Polyspace Access using Docker Compose.
Use the settings in the Cluster Admin to configure your new Polyspace Access installation. Copy the setting values to the corresponding variables in the
.envfile:Cluster Admin Setting .envVariableGateway port GATEWAY_PORTHTTPS certificate GATEWAY_SSL_CERT_FILEHTTPS private key GATEWAY_SSL_KEY_FILEDatabase volume path PSACCESS_DB_VOLUMEETL directories PSACCESS_ETL_BASEDIRLDAP settings Variables with LDAPprefixSAML settings Variables with SAMLprefixAdministrator IDs USERMANAGER_ADMIN_IDS
For more information about how to configure your .env file, see:
Transition to Docker Compose
Stop the
admin-docker-agentservices. In the Cluster Admin interface, click Stop Apps. Then stop theadmin-docker-agentbinary by pressing Ctrl+C at the command line.Set the
PSACCESS_DB_VOLUMEvariable in the.envfile to your existing database volume path to preserve your uploaded results and user data without requiring a database migration.Copy the
um-key.pemauthentication private key to the folder specified byCERT_DIRin the.envfile. If you do not have the original key file, generate a new one. Existing users need to log in again after the transition.Copy your license file to the folder specified by
INSTALL_DIRin the.envfile. Verify thatLICENSE_FILEin the.envfile is set to a path to your license file.Start the Docker Compose services:
docker compose up -d
Verify that all services are running and that your data is accessible. See Verify Your Installation.
Clean Up the Previous Installation
After you verify that Docker Compose is running correctly with your data:
Remove the
admin-docker-agentcontainers that are no longer in use:docker rm admin
Optionally, remove the
admin-docker-agentbinary and installation files that you no longer need.