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.

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.

    • 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, including the datasets and custom models.Textual deploys a PostgreSQL database container for the application database.

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

Last updated