Change version of litellm and add postgre database
This commit is contained in:
1 parent
b0c0b8ed11
commit
ff5e3e1a68
1 file changed
+19
@@ -17,11 +17,30 @@ services:
|
||||
#OTEL_METRICS_EXPORTER: otlp
|
||||
#OTEL_SERVICE_NAME: litellm
|
||||
#LITELLM_LOG: DEBUG
|
||||
LITELLM_MASTER_KEY: sk-wXjwFur31upMpiTYztCxf3DqWHodBT7tUzZXdtP6d4bU9HWKvSajhwM3mgsz6IUq
|
||||
LITELLM_SALT_KEY: sk-rxIZzWZEQxdGiq7pz7yJ8Dcge6PxcKyZ2PcDjtHgwVaC2Ob2fsvE8MBROyZVXXet
|
||||
DATABASE_URL: postgresql://litellm:litellm@db:5432/litellm
|
||||
STORE_MODEL_IN_DB: "True"
|
||||
depends_on:
|
||||
- alloy
|
||||
db:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- lgmtnet
|
||||
|
||||
db:
|
||||
image: postgres:16
|
||||
environment:
|
||||
POSTGRES_USER: litellm
|
||||
POSTGRES_PASSWORD: litellm
|
||||
POSTGRES_DB: litellm
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U litellm"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
volumes:
|
||||
- /var/lib/docker/volumes/stack-lgtm/postgres_data:/var/lib/postgresql/data
|
||||
tempo:
|
||||
image: grafana/tempo:2.10.10
|
||||
container_name: tempo
|
||||
|
||||
Reference in new issue
Block a user