Skip to content
This repository was archived by the owner on Jul 29, 2025. It is now read-only.

Commit ad95356

Browse files
committed
Add troubleshooting section to README.md
1 parent c01b94f commit ad95356

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

README.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ If you would like to use a `pyproject.toml` file instead for managing dependenci
3737
git clone https://github.com/langchain-ai/langgraph-example-pyproject.git
3838
```
3939

40-
4140
You will then want to create a `.env` file with the relevant environment variables:
4241

4342
```shell
@@ -255,3 +254,22 @@ After you modify the underlying code you can also replay a node in the graph. Fo
255254

256255
https://github.com/user-attachments/assets/9ec1b8ed-c6f8-433d-8bef-0dbda58a1075
257256

257+
## Troubleshooting
258+
259+
### How do I access local services and models such as Ollama, Chroma, etc?
260+
261+
LangGraph Studio relies on Docker Compose to run the API, Redis and Postgres, which in turn creates its own network. Thus, to access local services you need to use `host.docker.internal` as the hostname instead of `localhost`. See [#112](https://github.com/langchain-ai/langgraph-studio/issues/112) for more details.
262+
263+
### Failing to install native dependencies during build
264+
265+
By default, we try to make the image as small as possible, thus some dependencies such as `gcc` or `build-essentials` are missing from the base image. If you need to install additional dependencies, you can do so by adding additional Dockerfile instructions in the `dockerfile_lines` section of your `langgraph.json` file:
266+
267+
```
268+
{
269+
"dockerfile_lines": [
270+
"RUN apt-get update && apt-get install -y gcc"
271+
]
272+
}
273+
```
274+
275+
See [How to customize Dockerfile](https://langchain-ai.github.io/langgraph/cloud/deployment/custom_docker) for more details.

0 commit comments

Comments
 (0)