Final modification to swtich litellm to postgre database
This commit is contained in:
1 parent
ff5e3e1a68
commit
5f78bd241b
1 file changed
+5
-5
+5
-5
@@ -3,10 +3,10 @@ services:
|
|||||||
image: ghcr.io/berriai/litellm:main-latest
|
image: ghcr.io/berriai/litellm:main-latest
|
||||||
container_name: litellm
|
container_name: litellm
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
#volumes:
|
||||||
- /var/lib/docker/volumes/hawser_stacks/_data/stack-lgtm/litellm/config.yaml:/app/config.yaml:ro
|
# - /var/lib/docker/volumes/hawser_stacks/_data/stack-lgtm/litellm/config.yaml:/app/config.yaml:ro
|
||||||
command:
|
#command:
|
||||||
- "--config=/app/config.yaml"
|
# - "--config=/app/config.yaml"
|
||||||
ports:
|
ports:
|
||||||
- "4000:4000"
|
- "4000:4000"
|
||||||
environment:
|
environment:
|
||||||
@@ -22,9 +22,9 @@ services:
|
|||||||
DATABASE_URL: postgresql://litellm:litellm@db:5432/litellm
|
DATABASE_URL: postgresql://litellm:litellm@db:5432/litellm
|
||||||
STORE_MODEL_IN_DB: "True"
|
STORE_MODEL_IN_DB: "True"
|
||||||
depends_on:
|
depends_on:
|
||||||
- alloy
|
|
||||||
db:
|
db:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
alloy:
|
||||||
networks:
|
networks:
|
||||||
- lgmtnet
|
- lgmtnet
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user