Update docker-compose.yaml (#3582)

The following error gets returned when trying to launch
langchain-server:

ERROR: The Compose file
'/opt/homebrew/lib/python3.11/site-packages/langchain/docker-compose.yaml'
is invalid because:
services.langchain-db.expose is invalid: should be of the format
'PORT[/PROTOCOL]'

Solution:
Change line 28 from - 5432:5432 to - 5432
This commit is contained in:
Ilyes Bouchada 2023-04-27 07:11:59 +09:00 committed by GitHub
parent e1a4fc55e6
commit c5451f4298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,4 +26,4 @@ services:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_DB=postgres - POSTGRES_DB=postgres
expose: expose:
- 5432:5432 - 5432