mirror of
https://github.com/langchain-ai/langchain-extract.git
synced 2026-07-01 20:24:03 -04:00
31 lines
654 B
YAML
31 lines
654 B
YAML
version: "3"
|
|
name: langchain-extract
|
|
|
|
services:
|
|
postgres:
|
|
# Careful if bumping postgres version.
|
|
# Make sure to keep in sync with CI
|
|
# version if being tested on CI.
|
|
image: postgres:16
|
|
ports:
|
|
- "5432:5432"
|
|
environment:
|
|
POSTGRES_DB: langchain
|
|
POSTGRES_USER: langchain
|
|
POSTGRES_PASSWORD: langchain
|
|
volumes:
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
# For rely on docker compose to spin up postgres
|
|
# but developer using docker
|
|
# Add backend when we actually need it
|
|
# backend:
|
|
# build: ./backend
|
|
# ports:
|
|
# - "8000:8000"
|
|
# depends_on:
|
|
# - postgres
|
|
|
|
volumes:
|
|
postgres_data:
|