docs: add kubernetes deployment

This commit is contained in:
Nicolò Boschi 2024-06-20 13:17:34 +02:00 • committed by Gabriel Luiz Freitas Almeida
commit 74eaf07b04

View file

@ -78,7 +78,7 @@ langflow:
By default, the chart will use a SQLLite database stored in a local persistent disk. 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. 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. # Deploy postgresql. You can skip this section if you have an existing postgresql database.
postgresql: postgresql:
enabled: true enabled: true
@ -185,8 +185,7 @@ There are two ways to import a flow (or multiple flows) and deploy it with the L
```bash ```bash
# Create the Dockerfile # Create the Dockerfile
echo """ echo """FROM langflowai/langflow-backend:latest
FROM langflowai/langflow-backend:latest
RUN mkdir /app/flows RUN mkdir /app/flows
ENV LANGFLOW_LOAD_FLOWS_PATH=/app/flows ENV LANGFLOW_LOAD_FLOWS_PATH=/app/flows
COPY ./*json /app/flows/.""" > Dockerfile COPY ./*json /app/flows/.""" > Dockerfile