Langflow deployment overview
This section includes the different ways to bring your locally-built flows to the world.
-- Langflow IDE - A development environment for creating and testing flows.
-- Langflow runtime - A production environment for hosting and serving flows.
-
-
The Langflow IDE includes the frontend for visual development of your flow. The default docker-compose.yml file hosted in the Langflow repository builds the Langflow IDE image. The Langflow IDE can be deployed on Docker or Kubernetes.
-
The Langflow runtime is a headless or backend-only mode. The server exposes your flow as an endpoint, and runs only the processes necessary to serve your flow, with PostgreSQL as the database for improved scalability. Use the Langflow runtime to deploy your flows if you don't require the frontend for visual development. The Langflow runtime can be deployed on Docker or Kubernetes.
-
-
-
To package your flow as a Docker image, copy your flow's .JSON file with a command in the Dockerfile.
-
An example Dockerfile for bundling flows is hosted in the Langflow Helm Charts repository.
-
For more on building the Langflow docker image and pushing it to Docker Hub, see Package your flow as a docker image.
-
-
After your flow is packaged as a Docker image and available on Docker Hub, deploy your application by overriding the values in the langflow-runtime Helm chart.
-
For more information, see Deploy the Langflow development environment on Kubernetes.