Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

add postgres-volumes comment

xucai9a03e1dfd84e
diff --git a/docker-compose.yml b/docker-compose.yml
index 2cb5b6ce6a9..b56e0372531 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -32,7 +32,7 @@ services:
ports:
- "5432:5432"
volumes:
- - postgres_data:/var/lib/postgresql/data
+ - postgres_data:/var/lib/postgresql/data # Persists Postgres data across container restarts
healthcheck:
test: ["CMD-SHELL", "pg_isready -d litellm -U llmproxy"]
interval: 1s
@@ -56,7 +56,7 @@ volumes:
prometheus_data:
driver: local
postgres_data:
- name: litellm_postgres_data
+ name: litellm_postgres_data # Named volume for Postgres data persistence
# ...rest of your docker-compose config if any