{"repo": "bachkukkik/openwebui-ollama-docker", "files": {"litellm/config.yaml": {"51c1d6d29f4ae7431a259033cb0d5b53441b21b7": {"t": 1785745199.5550184, "n": 3494, "h": "c05a77b0cad9037e", "c": "model_list: \n # - model_name: \"anthropic/*\"\n # litellm_params:\n # model: \"anthropic/*\"\n # drop_params: true\n # api_key: os.environ/ANTHROPIC_API_KEY\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n\n # - model_name: \"deepseek/*\"\n # litellm_params:\n # model: \"deepseek/*\"\n # drop_params: true\n # api_key: os.environ/DEEPSEEK_API_KEY\n # model_info:\n # supports_function_calling: true\n\n # - model_name: ollama/mistral-small3.2:latest\n # litellm_params:\n # model: ollama/mistral-small3.2:latest\n # drop_params: true\n # api_base: os.environ/OLLAMA_BASE_URL\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n\n # - model_name: ollama_chat/mistral-small3.2:latest\n # litellm_params:\n # model: ollama_chat/mistral-small3.2:latest\n # drop_params: true\n # api_base: os.environ/OLLAMA_BASE_URL\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n\n # - model_name: \"openai/*\"\n # litellm_params:\n # model: \"openai/*\"\n # drop_params: true\n # api_key: os.environ/OPENAI_API_KEY\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n # web_search_options: {}\n\n - model_name: \"openrouter/*\"\n litellm_params:\n model: \"openrouter/*\"\n drop_params: true\n api_key: os.environ/OPENROUTER_API_KEY\n model_info:\n supports_function_calling: true\n supports_vision: True\n\n # - model_name: \"vertex_ai/*\"\n # litellm_params:\n # model: \"vertex_ai/*\"\n # drop_params: true\n # vertex_project: os.environ/VERTEX_PROJECT\n # vertex_location: os.environ/VERTEX_LOCATION\n # vertex_credentials: os.environ/VERTEX_CREDENTIALS\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n # web_search_options: {}\n\nrouter_settings:\n redis_host: os.environ/REDIS_HOST\n redis_port: os.environ/REDIS_PORT\n\nlitellm_settings:\n request_timeout: 600 # raise Timeout error if call takes longer than 600 seconds. Default value is 6000seconds if not set\n set_verbose: False # Switch off Debug Logging, ensure your logs do not have any debugging on\n json_logs: true # Get debug logs in json format\n default_fallbacks: [\"ollama/qwen3:30b\"]\n cache: True\n cache_params:\n type: redis\n host: os.environ/REDIS_HOST\n port: os.environ/REDIS_PORT\n\n\ngeneral_settings:\n master_key: os.environ/LITELLM_MASTER_KEY # enter your own master key, ensure it starts with 'sk-'\n # alerting: [\"slack\"] # Setup slack alerting - get alerts on LLM exceptions, Budget Alerts, Slow LLM Responses\n proxy_batch_write_at: 60 # Batch write spend updates every 60s\n database_connection_pool_limit: 10 # limit the number of database connections to = MAX Number of DB Connections/Number of instances of litellm proxy (Around 10-20 is good number)\n\n # OPTIONAL Best Practices\n disable_spend_logs: True # turn off writing each transaction to the db. We recommend doing this is you don't need to see Usage on the LiteLLM UI and are tracking metrics via Prometheus\n disable_error_logs: True # turn off writing LLM Exceptions to DB\n # allow_requests_on_db_unavailable: True # Only USE when running LiteLLM on your VPC. Allow requests to still be processed even if the DB is unavailable. We recommend doing this if you're running LiteLLM on VPC that cannot be accessed from the public internet.\n"}, "892f0bad72651060f330a4a1cdaf8eba5030b4e2": {"t": 1785748568.6265495, "n": 3494, "h": "c05a77b0cad9037e", "c": "model_list: \n # - model_name: \"anthropic/*\"\n # litellm_params:\n # model: \"anthropic/*\"\n # drop_params: true\n # api_key: os.environ/ANTHROPIC_API_KEY\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n\n # - model_name: \"deepseek/*\"\n # litellm_params:\n # model: \"deepseek/*\"\n # drop_params: true\n # api_key: os.environ/DEEPSEEK_API_KEY\n # model_info:\n # supports_function_calling: true\n\n # - model_name: ollama/mistral-small3.2:latest\n # litellm_params:\n # model: ollama/mistral-small3.2:latest\n # drop_params: true\n # api_base: os.environ/OLLAMA_BASE_URL\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n\n # - model_name: ollama_chat/mistral-small3.2:latest\n # litellm_params:\n # model: ollama_chat/mistral-small3.2:latest\n # drop_params: true\n # api_base: os.environ/OLLAMA_BASE_URL\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n\n # - model_name: \"openai/*\"\n # litellm_params:\n # model: \"openai/*\"\n # drop_params: true\n # api_key: os.environ/OPENAI_API_KEY\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n # web_search_options: {}\n\n - model_name: \"openrouter/*\"\n litellm_params:\n model: \"openrouter/*\"\n drop_params: true\n api_key: os.environ/OPENROUTER_API_KEY\n model_info:\n supports_function_calling: true\n supports_vision: True\n\n # - model_name: \"vertex_ai/*\"\n # litellm_params:\n # model: \"vertex_ai/*\"\n # drop_params: true\n # vertex_project: os.environ/VERTEX_PROJECT\n # vertex_location: os.environ/VERTEX_LOCATION\n # vertex_credentials: os.environ/VERTEX_CREDENTIALS\n # model_info:\n # supports_function_calling: true\n # supports_vision: True\n # web_search_options: {}\n\nrouter_settings:\n redis_host: os.environ/REDIS_HOST\n redis_port: os.environ/REDIS_PORT\n\nlitellm_settings:\n request_timeout: 600 # raise Timeout error if call takes longer than 600 seconds. Default value is 6000seconds if not set\n set_verbose: False # Switch off Debug Logging, ensure your logs do not have any debugging on\n json_logs: true # Get debug logs in json format\n default_fallbacks: [\"ollama/qwen3:30b\"]\n cache: True\n cache_params:\n type: redis\n host: os.environ/REDIS_HOST\n port: os.environ/REDIS_PORT\n\n\ngeneral_settings:\n master_key: os.environ/LITELLM_MASTER_KEY # enter your own master key, ensure it starts with 'sk-'\n # alerting: [\"slack\"] # Setup slack alerting - get alerts on LLM exceptions, Budget Alerts, Slow LLM Responses\n proxy_batch_write_at: 60 # Batch write spend updates every 60s\n database_connection_pool_limit: 10 # limit the number of database connections to = MAX Number of DB Connections/Number of instances of litellm proxy (Around 10-20 is good number)\n\n # OPTIONAL Best Practices\n disable_spend_logs: True # turn off writing each transaction to the db. We recommend doing this is you don't need to see Usage on the LiteLLM UI and are tracking metrics via Prometheus\n disable_error_logs: True # turn off writing LLM Exceptions to DB\n # allow_requests_on_db_unavailable: True # Only USE when running LiteLLM on your VPC. Allow requests to still be processed even if the DB is unavailable. We recommend doing this if you're running LiteLLM on VPC that cannot be accessed from the public internet.\n"}}, "docker-compose.litellm.yml": {"51c1d6d29f4ae7431a259033cb0d5b53441b21b7": {"t": 1785747396.7859416, "n": 3027, "h": "46f2d919359add5c", "c": "services:\n litellm_postgres:\n image: pgvector/pgvector:${LITELLM_PGVECTOR_TAG:-pg17}\n environment:\n - POSTGRES_USER=${LITELLM_POSTGRES_USER:-postgres}\n - POSTGRES_PASSWORD=${LITELLM_POSTGRES_PASSWORD}\n - POSTGRES_DB=${LITELLM_POSTGRES_DB:-postgres}\n volumes:\n - litellm_postgres:/var/lib/postgresql/data\n # ports:\n # - 5432:5432\n healthcheck:\n test: [\"CMD-SHELL\", \"pg_isready -U ${LITELLM_POSTGRES_USER:-postgres}\"]\n interval: 5s\n timeout: 5s\n retries: 5\n restart: unless-stopped\n networks:\n default:\n aliases:\n - ${LITELLM_POSTGRES_NETWORKS_ALIAS:-ood-litellm-postgres}\n\n litellm_redis:\n image: redis:alpine\n command: \n - /bin/sh\n - -c\n - redis-server --requirepass \"$${REDIS_PASSWORD:?REDIS_PASSWORD variable is not set}\"\n environment:\n - REDIS_PASSWORD=${LITELLM_REDIS_PASSWORD:-}\n healthcheck:\n test: [\"CMD\", \"redis-cli\", \"ping\"]\n interval: 10s\n timeout: 3s\n retries: 3\n restart: unless-stopped\n volumes:\n - litellm_redis:/data:rw\n networks:\n default:\n aliases:\n - ${LITELLM_REDIS_NETWORKS_ALIAS:-ood-litellm-redis}\n\n litellm:\n image: ghcr.io/berriai/litellm-database:main-latest\n # ports:\n # - 4000:4000\n environment:\n - DATABASE_URL=${LITELLM_DATABASE_URL}\n - LITELLM_MODE=${LITELLM_MODE:-PRODUCTION}\n - LITELLM_LOG=${LITELLM_LOG:-ERROR}\n - LITELLM_SALT_KEY=${LITELLM_SALT_KEY:-sk-vanilla-agent-litellm}\n - LITELLM_MASTER_KEY=${LITELLM_MASTER_KEY}\n - REDIS_HOST=${LITELLM_REDIS_HOST:-litellm_redis}\n - REDIS_PORT=${LITELLM_REDIS_PORT:-6379}\n - REDIS_PASSWORD=${LITELLM_REDIS_PASSWORD:-}\n - OLLAMA_BASE_URL=${OLLAMA_BASE_URL:-http://ollama:11434}\n # - ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY}\n # - DEEPSEEK_API_KEY=${DEEPSEEK_API_KEY}\n # - OPENAI_API_KEY=${OPENAI_API_KEY}\n - OPENROUTER_API_KEY=${OPENROUTER_API_KEY-}\n # - VERTEX_PROJECT=${VERTEX_PROJECT}\n # - VERTEX_LOCATION=${VERTEX_LOCATION}\n # - VERTEX_CREDENTIALS=${VERTEX_CREDENTIALS}\n volumes:\n - ./litellm/config.yaml:/app/config.yaml\n - ./litellm/.credentials/:/app/.credentials/\n command: [\"--config\", \"/app/config.yaml\"]\n depends_on:\n litellm_postgres:\n condition: service_healthy\n litellm_redis:\n condition: service_healthy\n healthcheck:\n test: timeout 5 bash -c \"