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:

  1. Rename sample.env to .env.

  2. 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.

  3. To deploy and start Textual, run docker-compose up -d.

Updating to a new version

To update to a new version of Textual:

  1. In .env, change the value of SOLAR_VERSION to 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.

  2. Run the following:

$ docker-compose down
$ docker-compose pull && docker-compose up -d

Last updated

Was this helpful?