Skip to content

Commit

Permalink
docs: fix docker-compose in self-hosted (#2258)
Browse files Browse the repository at this point in the history
  • Loading branch information
vbarda authored Oct 31, 2024
1 parent 5037cf7 commit c7303da
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions docs/docs/how-tos/deploy-self-hosted.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ You will need to do the following:
1. Deploy Redis and Postgres instances on your own infrastructure.
2. Build a docker image with the LangGraph Deploy server using the LangGraph CLI.
3. Deploy a web server that will run the docker image and pass in the necessary environment variables.

## Environment Variables

You will eventually need to pass in the following environment variables to the LangGraph Deploy server:
Expand Down Expand Up @@ -99,17 +99,19 @@ services:
retries: 5
interval: 5s
langgraph-api:
image: {IMAGE_NAME}
image: ${IMAGE_NAME}
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: {LANGSMITH_API_KEY}
LANGSMITH_API_KEY: ${LANGSMITH_API_KEY}
POSTGRES_URI: postgres://postgres:postgres@langgraph-postgres:5432/postgres?sslmode=disable
```
Expand Down

0 comments on commit c7303da

Please sign in to comment.