mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-31 12:09:58 +00:00
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
30 lines
685 B
YAML
30 lines
685 B
YAML
version: '3'
|
|
services:
|
|
langchain-frontend:
|
|
image: notlangchain/langchainplus-frontend:latest
|
|
ports:
|
|
- 4173:4173
|
|
environment:
|
|
- BACKEND_URL=http://langchain-backend:8000
|
|
- PUBLIC_BASE_URL=http://localhost:8000
|
|
- PUBLIC_DEV_MODE=true
|
|
depends_on:
|
|
- langchain-backend
|
|
langchain-backend:
|
|
image: notlangchain/langchainplus:latest
|
|
environment:
|
|
- PORT=8000
|
|
- LANGCHAIN_ENV=local
|
|
ports:
|
|
- 8000:8000
|
|
depends_on:
|
|
- langchain-db
|
|
langchain-db:
|
|
image: postgres:14.1
|
|
environment:
|
|
- POSTGRES_PASSWORD=postgres
|
|
- POSTGRES_USER=postgres
|
|
- POSTGRES_DB=postgres
|
|
expose:
|
|
- 5432
|