From c5451f429862668cb7c95ddec1ea5b78a3f0ff01 Mon Sep 17 00:00:00 2001 From: Ilyes Bouchada Date: Thu, 27 Apr 2023 07:11:59 +0900 Subject: [PATCH] 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 --- langchain/docker-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/langchain/docker-compose.yaml b/langchain/docker-compose.yaml index 27b43493..35e315c1 100644 --- a/langchain/docker-compose.yaml +++ b/langchain/docker-compose.yaml @@ -26,4 +26,4 @@ services: - POSTGRES_USER=postgres - POSTGRES_DB=postgres expose: - - 5432:5432 + - 5432