mirror of
https://github.com/hoshikawa2/oci-litellm-cost-per-api.git
synced 2026-07-09 09:44:21 +00:00
15 lines
358 B
Bash
15 lines
358 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cp -n .env.example .env || true
|
|
mkdir -p storage
|
|
|
|
echo '1) Subindo Postgres + LiteLLM Proxy...'
|
|
docker compose up -d
|
|
|
|
echo '2) Registrando virtual keys por API consumidora...'
|
|
python src/create_litellm_keys.py
|
|
|
|
echo '3) Subindo simulador de APIs na porta 8080...'
|
|
uvicorn src.api_service:app --host 0.0.0.0 --port 8080
|