Skip to content

Commit

Permalink
docs: add kubernetes deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoloboschi authored and ogabrielluiz committed Jun 24, 2024
1 parent c0a4a9d commit 74eaf07
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions docs/docs/deployment/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ langflow:
By default, the chart will use a SQLLite database stored in a local persistent disk.
If you want to use an external PostgreSQL database, you can set the `langflow.database` values in the `values.yaml` file.

```
```yaml
# Deploy postgresql. You can skip this section if you have an existing postgresql database.
postgresql:
enabled: true
Expand Down Expand Up @@ -185,11 +185,10 @@ There are two ways to import a flow (or multiple flows) and deploy it with the L

```bash
# Create the Dockerfile
echo """
FROM langflowai/langflow-backend:latest
RUN mkdir /app/flows
ENV LANGFLOW_LOAD_FLOWS_PATH=/app/flows
COPY ./*json /app/flows/.""" > Dockerfile
echo """FROM langflowai/langflow-backend:latest
RUN mkdir /app/flows
ENV LANGFLOW_LOAD_FLOWS_PATH=/app/flows
COPY ./*json /app/flows/.""" > Dockerfile
# Download the flows
wget https://raw.github.com/langflow-ai/langflow/dev/src/backend/base/langflow/initial_setup/starter_projects/Basic%20Prompting%20(Hello%2C%20world!).json
# Build the docker image locally
Expand Down

0 comments on commit 74eaf07

Please sign in to comment.