langchain-server: Do not expose postgresql port to host (#3431)

Apart from being unnecessary, postgresql is run on its default port,
which means that the langchain-server will fail to start if there is
already a postgresql server running on the host. This is obviously less
than ideal.

(Yeah, I don't understand why "expose" is the syntax that does not
expose the ports to the host...)

Tested by running langchain-server and trying out debugging on a host
that already has postgresql bound to the port 5432.

Co-authored-by: Sami Liedes <sami.liedes@rocket-science.ch>
fix_agent_callbacks
Sami Liedes 1 year ago committed by GitHub
parent 7084d69ea7
commit c8b70e1c6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,5 +25,5 @@ services:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
- POSTGRES_DB=postgres
ports:
expose:
- 5432:5432

Loading…
Cancel
Save