Kubernetes
Lunary was designed to be surprisingly simple to self-host, through a Helm Chart which includes the frontend, the API, and workers.
Note: The Kubernetes setup is available only with Lunary Enterprise Edition
Steps
Set up a PostgreSQL database
Set up a PostgreSQL database to store your Lunary data (version 15 or higher).
Log in to the private Docker Repository
Run the following command:
Your Organization’s Access Token, will be provided by Lunary when your subscription is activated.
Download the Helm Chart
Set up mandatory secrets
Your License Key will be provided by Lunary when your subscription is activated.
The Organization Access Token is the same one you used to log in with helm login
.
(Optional) Set up API Keys and SMTP client
In order to use the Prompt Playground and Evaluations features, you need to set up at least one of the following secrets:
You can also use your custom email server to send invitations to members of your organization:
Then, configure the corresponding values in values.yaml
, in the Helm Chart’s root directory:
Install the Helm Chart
🎉 Done!
The Helm Chart should be installed and ready to go.
You can now set up an ingress controller to expose the services.