Deploying with Docker Compose

Install

A Tonic Docker Compose repository is located here: https://github.com/TonicAI/tonic_docker_compose.
To make future updates easier, fork this repository.
The repository readme includes more detail on how to set environmental variables. It also provides information on how to determine which containers are required for your deployment. For example, whether the Tonic application Postgres database is deployed using Docker.
During your onboarding, you are provided access credentials to our image repository. If you require new credentials, or you experience issues accessing the repository, contact [email protected] to get access to our Quay.io Docker repository.
On the box where you plan to deploy Tonic, log in to Quay.io with credentials that Tonic provides:
$ docker login quay.io

Configure

Review the configuration option details in the repository readme: https://github.com/TonicAI/tonic_docker_compose#configuration

Deploy

To deploy and validate access to Tonic, follow the instructions in the repository readme: https://github.com/TonicAI/tonic_docker_compose#deploy
If you run Tonic in a cloud environment, we strongly suggest that you enable SSL, or that you use some other mechanism to protect traffic to the machine box. For example, you might make the instance available only over VPN. Your cloud provider should have instructions on how to accomplish this.

Updating

Tonic notifies you when the current version is more than 10 versions behind the most recent release. Admin users can see the notification on the System Status tab of the Admin Panel.
To get the latest Tonic version, admin users can use the in-app update feature.
Alternatively, you can run the following:
$ docker-compose down
$ docker-compose pull && docker-compose up -d
Copy link
On this page
Install
Configure
Deploy
Updating