Final modification to swtich litellm to postgre database

This commit is contained in:
thedarty committed 2026-12-04 10:11:11 +01:00
1 parent ff5e3e1a68
commit 5f78bd241b
1 file changed
+5 -5
+5 -5
View File
@@ -3,10 +3,10 @@ services:
image: ghcr.io/berriai/litellm:main-latest
container_name: litellm
restart: unless-stopped
volumes:
- /var/lib/docker/volumes/hawser_stacks/_data/stack-lgtm/litellm/config.yaml:/app/config.yaml:ro
command:
- "--config=/app/config.yaml"
#volumes:
# - /var/lib/docker/volumes/hawser_stacks/_data/stack-lgtm/litellm/config.yaml:/app/config.yaml:ro
#command:
# - "--config=/app/config.yaml"
ports:
- "4000:4000"
environment:
@@ -22,9 +22,9 @@ services:
DATABASE_URL: postgresql://litellm:litellm@db:5432/litellm
STORE_MODEL_IN_DB: "True"
depends_on:
- alloy
db:
condition: service_healthy
alloy:
networks:
- lgmtnet