e235103 Refactor LiteLLM template to centralize environment variables and improve configuration structure
4cb7ed3 Refactor LiteLLM docker-compose and template to use volumes and simplify port configuration
06869f6 Refactor LiteLLM blueprint to simplify environment configuration and improve service definitions
65b9769 Refactor LiteLLM blueprint to centralize environment variables, enhance security with stronger defaults, and improve provider API key configuration
89214c6 Format tags as arrays in meta.json for improved readability
Add new LiteLLM template to the repository.
This template deploys the [BerriAI LiteLLM](https://github.com/BerriAI/litellm) service with PostgreSQL backend, providing an OpenAI‑compatible API proxy for multiple LLM providers.
Key features:
Docker Compose service definition with persistent volumes and health checks.
Environment variable centralization for easier configuration.
Support for multiple API providers (OpenAI, Cohere, Anthropic, Azure, Replicate, etc.).
Secure credentials generation for UI and master key.
I have tested the template in my instance, so the maintainers don't spend time trying to figure out what's wrong.
I have added tests or verified deployment to demonstrate that my template works as expected.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/Dokploy/templates/pull/303
**Author:** [@jaainil](https://github.com/jaainil)
**Created:** 8/25/2025
**Status:** ✅ Merged
**Merged:** 8/25/2025
**Merged by:** [@Siumauricio](https://github.com/Siumauricio)
**Base:** `main` ← **Head:** `feat/template-litellm`
---
### 📝 Commits (6)
- [`712a6e6`](https://github.com/Dokploy/templates/commit/712a6e6119e83c8030b4fd172e6a8cd88d736660) working
- [`e235103`](https://github.com/Dokploy/templates/commit/e235103d97c5eb6292299db7f608e89864dfcd4f) Refactor LiteLLM template to centralize environment variables and improve configuration structure
- [`4cb7ed3`](https://github.com/Dokploy/templates/commit/4cb7ed34dbb5c0b726e5815a9b7dc5092f83ae51) Refactor LiteLLM docker-compose and template to use volumes and simplify port configuration
- [`06869f6`](https://github.com/Dokploy/templates/commit/06869f6b9b1184bd219b5a5a5b58b125221cf6c0) Refactor LiteLLM blueprint to simplify environment configuration and improve service definitions
- [`65b9769`](https://github.com/Dokploy/templates/commit/65b97691fcad0ba3e6cef5926f86e240af8b8d14) Refactor LiteLLM blueprint to centralize environment variables, enhance security with stronger defaults, and improve provider API key configuration
- [`89214c6`](https://github.com/Dokploy/templates/commit/89214c6f165450e4b787e6924b91d85e8a027fea) Format tags as arrays in meta.json for improved readability
### 📊 Changes
**4 files changed** (+139 additions, -0 deletions)
<details>
<summary>View changed files</summary>
➕ `blueprints/litellm/docker-compose.yml` (+53 -0)
➕ `blueprints/litellm/image.png` (+0 -0)
➕ `blueprints/litellm/template.toml` (+67 -0)
📝 `meta.json` (+19 -0)
</details>
### 📄 Description
## What is this PR about?
Add new **LiteLLM** template to the repository.
This template deploys the [[BerriAI LiteLLM](https://github.com/BerriAI/litellm)](https://github.com/BerriAI/litellm) service with PostgreSQL backend, providing an OpenAI‑compatible API proxy for multiple LLM providers.
Key features:
- **Docker Compose** service definition with persistent volumes and health checks.
- **Environment variable centralization** for easier configuration.
- **Support for multiple API providers** (OpenAI, Cohere, Anthropic, Azure, Replicate, etc.).
- **Secure credentials generation** for UI and master key.
- **Domain mapping** via template variables.
---
## Checklist
Before submitting this PR, please make sure that:
- [x] I have read the suggestions in the README.md file [[Dokploy/templates general suggestions](https://github.com/Dokploy/templates?tab=readme-ov-file#general-suggestions-when-creating-a-template)](https://github.com/Dokploy/templates?tab=readme-ov-file#general-suggestions-when-creating-a-template)
- [x] I have tested the template in my instance, so the maintainers don't spend time trying to figure out what's wrong.
- [x] I have added tests or verified deployment to demonstrate that my template works as expected.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/Dokploy/templates/pull/303
Author: @jaainil
Created: 8/25/2025
Status: ✅ Merged
Merged: 8/25/2025
Merged by: @Siumauricio
Base:
main← Head:feat/template-litellm📝 Commits (6)
712a6e6workinge235103Refactor LiteLLM template to centralize environment variables and improve configuration structure4cb7ed3Refactor LiteLLM docker-compose and template to use volumes and simplify port configuration06869f6Refactor LiteLLM blueprint to simplify environment configuration and improve service definitions65b9769Refactor LiteLLM blueprint to centralize environment variables, enhance security with stronger defaults, and improve provider API key configuration89214c6Format tags as arrays in meta.json for improved readability📊 Changes
4 files changed (+139 additions, -0 deletions)
View changed files
➕
blueprints/litellm/docker-compose.yml(+53 -0)➕
blueprints/litellm/image.png(+0 -0)➕
blueprints/litellm/template.toml(+67 -0)📝
meta.json(+19 -0)📄 Description
What is this PR about?
Add new LiteLLM template to the repository.
This template deploys the [BerriAI LiteLLM](https://github.com/BerriAI/litellm) service with PostgreSQL backend, providing an OpenAI‑compatible API proxy for multiple LLM providers.
Key features:
Checklist
Before submitting this PR, please make sure that:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.