Self-host Langflow
updated Sep 2026deployed by usprices checked · Jul 2026Install verified on Ubuntu 26.04 · Sep 2026 · how we test
We earn commissions when you shop through the links below. Full disclosure →
A visual builder for AI agents and workflows: connect models, vector stores and tools as components on a canvas, then serve each flow through an API or as an MCP server. Runs on SQLite by default, or PostgreSQL for production.
Key facts
CategoryAI Agent Platforms
LicenseMIT
StackPython, FastAPI, React, TypeScript
Min RAM2048 MB
Official imageyes
Measured idle RAM1229 MB
Difficulty
What you need
- Any VPS with at least 2048 MB of RAM
- A domain you control — most self-hosted setups need HTTPS in front of them
- Under an hour if you've used Docker before
Where to host itaffiliate disclosure
Hetzner Cloudrun it on
From $23.59/mo · 2 vCPU / 4 GB / 80 GB · EU + USKamaterafree trial
From $4/mo · 1 vCPU / 1 GB / 20 GB · US + EU + AsiaDigitalOceanalso works on
From $6/mo · 1 vCPU / 1 GB / 25 GB · US + EU + AsiaPaid link — we earn a commission if you shop through it.
Install
Run these commands on your server:
# Langflow — official image (docs.langflow.org → Deploy Langflow on Docker), pinned to the 1.12.3 release
# the image sets LANGFLOW_AUTO_LOGIN=false, so a superuser password is required; generate one and keep it
export LANGFLOW_SUPERUSER_PASSWORD="$(openssl rand -hex 16)" && echo "$LANGFLOW_SUPERUSER_PASSWORD"
docker run -d --name langflow --restart unless-stopped \
-p 7860:7860 \
-e LANGFLOW_SUPERUSER=admin -e LANGFLOW_SUPERUSER_PASSWORD \
-e LANGFLOW_CONFIG_DIR=/app/langflow -v langflow-data:/app/langflow \
langflowai/langflow:1.12.3
# SQLite in the langflow-data volume; for PostgreSQL use the repo's docker_example/docker-compose.yml
# log in as admin → http://SERVER_IP:7860Head-to-head
More self-hosted tools
AI Agent Platforms
AgentArea
PythonNext.jsGoTemporal
hardRead guide →
AI Agent Platforms
Dify
PythonFlaskNext.jsTypeScript
easyRead guide →
Media automation
Bazarr
PythonReact
easyRead guide →
Backend & BaaS
Directus
Node.jsTypeScript
easyRead guide →