Skip to content

Add LiteLLM proxy service and config#374

Merged
NoorChasib merged 6 commits into
mainfrom
llm-server-update
Apr 1, 2026
Merged

Add LiteLLM proxy service and config#374
NoorChasib merged 6 commits into
mainfrom
llm-server-update

Conversation

@NoorChasib

Copy link
Copy Markdown
Collaborator

Introduce an OpenAI-compatible LiteLLM proxy: add llm_proxy service to .docker/compose.controller.yaml (port 8080, depends on llm_server, mounts config file, uses LITELLM_MASTER_KEY for client auth and LLM_API_KEY for backend auth). Add LLM_API_KEY and LITELLM_MASTER_KEY to .docker/.env-template (with generation hint). Add .docker/llm/litellm_config.yaml listing model_name -> backend mappings and general master_key/setting entries to route requests to various llm_server endpoints.

🎯 Summary

ZUBA-

🔰 Checklist

  • I have read and agree with the following checklist
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation where required.
  • I have tested my changes to the best of my ability.
  • I have consulted with the team if introducing a new dependency.

Introduce an OpenAI-compatible LiteLLM proxy: add llm_proxy service to .docker/compose.controller.yaml (port 8080, depends on llm_server, mounts config file, uses LITELLM_MASTER_KEY for client auth and LLM_API_KEY for backend auth). Add LLM_API_KEY and LITELLM_MASTER_KEY to .docker/.env-template (with generation hint). Add .docker/llm/litellm_config.yaml listing model_name -> backend mappings and general master_key/setting entries to route requests to various llm_server endpoints.
Rename the LLM service identifier from 'llm_server' to 'llm-server' across Docker config and scripts. Updated .docker/compose.controller.yaml comments and service name, adjusted dependency for llm_proxy, changed example usages in .docker/.env-template, updated api_base URLs in .docker/llm/litellm_config.yaml, and updated printed endpoints/health URLs in .docker/llm/entrypoint.sh. Also remove .docker/llm/Caddyfile and .docker/llm/models.json (static reverse-proxy and model list files) as part of this cleanup.
Standardize the LLM service name by renaming llm-server to llm_server across Docker files and scripts. Changes include:
- .docker/.env-template: update comment to reference llm_server.
- .docker/compose.controller.yaml: update example usage, service key, and llm_proxy depends_on entry to llm_server.
- .docker/llm/entrypoint.sh: update printed API and health endpoints to use host llm_server.
This ensures consistent service naming for compose, networking, and scripts.

@Bottle7 Bottle7 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@NoorChasib NoorChasib merged commit 2a230cf into main Apr 1, 2026
5 checks passed
@NoorChasib NoorChasib deleted the llm-server-update branch April 1, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants