* 📑 update mkdocs * rename docker override file and add to gitignore * update .env.example - GOOGLE_MODELS * update index.md * doc refactor: split installation and configuration in two sub-folders * doc update: installation guides * doc update: configuration guides * doc: new docker override guide * doc: new beginner's guide for contributions - Thanks @Berry-13 * doc: update documentation_guidelines.md * doc: update testing.md * doc: update deployment guides * doc: update /dev readme * doc: update general_info * doc: add 0 value to doc weight * doc: add index.md to every doc folders * doc: add weight to index.md and move openrouter from free_ai_apis.md to ai_setup.md * doc: update toc so they display properly on the right had side in mkdocs * doc: update pandoranext.md * doc: index logging_system.md * doc: update readme.md * doc: update litellm.md * doc: update ./dev/readme.md * doc:🔖 new presets.md * doc: minor corrections * doc update: user_auth_system.md and presets.md, doc feat: add mermaid support to mkdocs * doc update: add screenshots to presets.md * doc update: add screenshots to - OpenID with AWS Cognito * doc update: BingAI cookie instruction * doc update: discord auth * doc update: facebook auth * doc: corrections to user_auth_system.md * doc update: github auth * doc update: google auth * doc update: auth clean up * doc organization: installation * doc organization: configuration * doc organization: features+plugins & update:plugins screenshots * doc organization: deploymend + general_info & update: tech_stack.md * doc organization: contributions * doc: minor fixes * doc: minor fixes
1.6 KiB
| title | weight |
|---|---|
| ⚡ Azure | -6 |
Azure deployment
There are different ways of how a deployment can be done in Azure. One way is to use Terraform to setup all the necessary ressources automatically, here is an example setup with the setup instructions, which sets up all the necessary services.
Prerequisites
You must have an existing Azure subscription for this to work.
Steps
-
Clone the LibreChatAzureDeployment repository.
-
Open in VS-Code Devcontainer.
-
[Optional] Configure Deployment:
- Edit
terraform.tfvarsto customize your deployment. - You can for example set the
MONGO_URIwhich is the connection string to your MongoDB. A fast and simple solution for that is a free cloud instance, like setting up an Atlas Instance. By default a CosmosDB instance is set up automatically.
- Edit
-
Azure Login: Open the Terminal inside of VS-Code, and run the command
az login. -
Terraform Initialization: In the Terminal inside of VS-Code, run the command
terraform init. -
Apply Terraform Configuration: In the Terminal inside of VS-Code, run the command
terraform apply. -
Open LibreChat: After finishing, terraform shows the outputs in the terminal. Open the Url of "libre_chat_url" (it might take some minutes until everything has booted)
Teardown
To tear down your Azure resources, run the command terraform destroy in the Terminal inside of VS-Code.