langgraph/how-tos/deploy-self-hosted/ #2460
Replies: 4 comments 6 replies
-
This does not work at all. Running into a ton of issues running the application locally using docker and docker compose. |
Beta Was this translation helpful? Give feedback.
-
I am successfully running my application locally on Docker and it's working fine on Langgraph Studio. However, I have a node.js frontend and I am getting the following error message. Unhandled Runtime Error Call Stack It seem I am not hooking properly to the API server. What configuration do I need to do to properly connect the local API server to the frontend client? What values to I need to set for the following environmental variables? |
Beta Was this translation helpful? Give feedback.
-
When I use the docker compose, the error print like this:
The docker-compose.yml is below: volumes:
langgraph-data:
driver: local
services:
langgraph-redis:
image: redis:6
healthcheck:
test: redis-cli ping
interval: 5s
timeout: 1s
retries: 5
langgraph-postgres:
image: postgres:16
ports:
- "5433:5432"
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- langgraph-data:/var/lib/postgresql/data
healthcheck:
test: pg_isready -U postgres
start_period: 10s
timeout: 1s
retries: 5
interval: 5s
langgraph-api:
image: langgraph-image
ports:
- "8123:8000"
depends_on:
langgraph-redis:
condition: service_healthy
langgraph-postgres:
condition: service_healthy
env_file:
- .env
environment:
REDIS_URI: redis://langgraph-redis:6379
LANGSMITH_API_KEY: <...>
POSTGRES_URI: postgres://postgres:postgres@langgraph-postgres:5432/postgres?sslmode=disable |
Beta Was this translation helpful? Give feedback.
-
Langgraph Studio and CLI problem: Graph not found Hi all, Happy Xmas! I am stuck for a week trying to make my langgraph project work with Langgraph Visual Studio and haven't found the root cause yet. Module 6 deployment and rag-research-agent-template both work fine. I've compared the langgraph.json, pyproject.toml, and docker-compose.yml but no lucky. The building process finishes successfully. Has anyone faced similar issue? Thanks in advance for any help. Alexandre |
Beta Was this translation helpful? Give feedback.
-
langgraph/how-tos/deploy-self-hosted/
Build language agents as graphs
https://langchain-ai.github.io/langgraph/how-tos/deploy-self-hosted/
Beta Was this translation helpful? Give feedback.
All reactions