Multi-service deploy: LiteLLM proxy + PostgreSQL + Redis. Universal LLM gateway with 100+ provider support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
15 lines
279 B
Bash
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
|