mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-16 09:22:22 +00:00
fix(docker-compose): only publish Postgres on 127.0.0.1
This commit is contained in:
parent
a44e44b980
commit
bbe31509ad
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ services:
|
|||
POSTGRES_USER: llmproxy
|
||||
POSTGRES_PASSWORD: dbpassword9090
|
||||
ports:
|
||||
- "5432:5432"
|
||||
- "127.0.0.1:5432:5432" # Only reachable from this machine. Remove this mapping if nothing on the host needs the database
|
||||
volumes:
|
||||
- postgres_data:/var/lib/postgresql/data # Persists Postgres data across container restarts
|
||||
healthcheck:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue