Files
railway-litellm/entrypoint.sh
T
SoandClaude Opus 4.6 824e02acd0 Initial LiteLLM API Gateway Railway template
Multi-service deploy: LiteLLM proxy + PostgreSQL + Redis.
Universal LLM gateway with 100+ provider support.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 19:11:17 +02:00

15 lines
279 B
Bash

#!/bin/bash
set -e
echo "Starting LiteLLM Proxy..."
# Build startup command
CMD_ARGS="--config /app/config.yaml --port 4000"
if [ -n "$NUM_WORKERS" ]; then
CMD_ARGS="$CMD_ARGS --num_workers $NUM_WORKERS"
fi
echo "Launching LiteLLM with: $CMD_ARGS"
exec litellm $CMD_ARGS