Deploying with Docker Compose
The Docker Compose file is available in the GitHub repository https://github.com/TonicAI/textual_docker_compose/tree/main.
Fork the repository.
Configuring and deploying Textual
To deploy Textual:
Rename sample.env to .env.
In .env, provide values for the required settings. These are not commented out and have
<FILL IN>as a placeholder value:SOLAR_VERSION- Provided by Tonic.ai.SOLAR_LICENSE- Provided by Tonic.ai.ENVIRONMENT_NAME- The name that you want to use for your Textual instance. For example,my-company-name.SOLAR_SECRET- The string to use for Textual encryption.SOLAR_DB_PASSWORD- The password that you want to use for the Textual application database, which stores the metadata for Textual. Textual deploys a PostgreSQL database container for the application database.
To deploy and start Textual, run
docker-compose up -d.
Updating to a new version
To update to a new version of Textual:
In .env, change the value of
SOLAR_VERSIONto identify the version of Textual to update to. To find the latest version, review the release notes. The tag value is the version number, without the "V" prefix.Run the following:
$ docker-compose down
$ docker-compose pull && docker-compose up -dLast updated
Was this helpful?
