Skip to main content
Contact us here for enterprise support https://forms.gle/uyKyZmmpVET95Wbx8

Get the image

  1. After getting an issued Docker PAT
  2. Authenticate with your token:
  1. Pull the image

Host the image

Google Artifactory Registry

  1. Tag the image:
  1. Push the image

Google Container Registry

  1. Tag the image:
  1. Push the image:

Amazon ECR

  1. Tag the image:
  1. Push the image

Run the application

  1. Once your image is accessible you can then host the application using the service of your choice.
Here is a non exhaustive list:
  1. To configure the application you will be required to pass your own environment variables. Let’s go over the required values:
  1. [OPTIONAL] Setup Redis to reduce latency:
  1. [OPTIONAL] Configure authentication methods:
  1. [OPTIONAL] Add monitoring

Configuring storage

In order to be able to use the storage solution of your choice, you will need to configure CORS for it.

Configure OAuth providers

If you enabled OAuth authentication in the environment variables, don’t forget to allow the callback url for each of the providers. The callback url is in the form:

Configure the port and start the container

The server within the docker image will run on port 3000. Don’t forget to expose it. You should now be ready to start the container.

Configure your Chainlit app

Once you successfully deployed the Literal Platform, don’t forget to set the following environment variables in your Chainlit App.