Skip to content

Commit

Permalink
lib0.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
nfcampos committed Aug 21, 2024
1 parent 46171dd commit 9147d05
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions libs/cli/langgraph_cli/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
"postgres://postgres:postgres@langgraph-postgres:5432/postgres?sslmode=disable"
)

REDIS = """
langgraph-redis:
image: redis:6
healthcheck:
test: redis-cli ping
interval: 5s
timeout: 1s
retries: 5
"""

DB = """
langgraph-postgres:
Expand Down Expand Up @@ -166,18 +175,22 @@ def compose(

compose_str = f"""{volumes}services:
{db}
{REDIS}
{debugger_compose(port=debugger_port, base_url=debugger_base_url)}
langgraph-api:
ports:
- "{port}:8000\""""
- "{port}:8000\"
depends_on:
langgraph-redis:
condition: service_healthy"""
if include_db:
compose_str += """
depends_on:
langgraph-postgres:
condition: service_healthy"""
compose_str += f"""
environment:
POSTGRES_URI: {postgres_uri}
REDIS_URI: redis://langgraph-redis:6379
"""
if capabilities.healthcheck_start_interval:
compose_str += """ healthcheck:
Expand Down
2 changes: 1 addition & 1 deletion libs/langgraph/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "langgraph"
version = "0.2.8"
version = "0.2.9"
description = "Building stateful, multi-actor applications with LLMs"
authors = []
license = "MIT"
Expand Down

0 comments on commit 9147d05

Please sign in to comment.