Self Hosting
Self-Hosted Deployment
Contact us here for enterprise support https://forms.gle/uyKyZmmpVET95Wbx8
Get the image
-
After getting an issued Docker PAT
-
Authenticate with your token:
- Pull the image
Host the image
Google Artifactory Registry
- Tag the image:
- Push the image
Google Container Registry
- Tag the image:
- Push the image:
Amazon ECR
- Tag the image:
- Push the image
Run the application
- Once your image is accessible you can then host the application using the service of your choice.
Here is a non exhaustive list:
- To configure the application you will be required to pass your own environment variables. Let’s go over the required values:
- [OPTIONAL] Setup Redis to reduce latency:
- [OPTIONAL] Configure authentication methods:
- [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.
- For AWS S3
- For Google Cloud Storage
- For Azure Blob Storage
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.
Was this page helpful?