mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
* add implementations of `BaseCallbackHandler` to support tracing: `SharedTracer` which is thread-safe and `Tracer` which is not and is meant to be used locally. * Tracers persist runs to locally running `langchain-server` Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
30 lines
689 B
YAML
30 lines
689 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
|
|
ports:
|
|
- 5432:5432
|