mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-11-03 02:26:43 +09:00
Follow-up to 025fa0be: keep serverkit.ai as the stable icon host rather
than jsDelivr. The registry repo remains the canonical home of the logo
files; serverkit.ai proxies /imgs/template-icons/ from its raw tree, so
these URLs now resolve for all 210 logos instead of only the legacy
subset the website bundles.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
105 lines
2.7 KiB
YAML
105 lines
2.7 KiB
YAML
id: langflow
|
|
name: Langflow
|
|
version: "1.0"
|
|
description: Visual framework for building multi-agent and RAG applications.
|
|
icon: https://serverkit.ai/imgs/template-icons/langflow.svg
|
|
website: https://www.langflow.org
|
|
documentation: https://docs.langflow.org
|
|
categories:
|
|
- ai
|
|
- llm
|
|
- workflow
|
|
- rag
|
|
|
|
variables:
|
|
- name: HTTP_PORT
|
|
description: Port for the Langflow web UI (auto-assigned)
|
|
type: port
|
|
default: "7860"
|
|
hidden: true
|
|
- name: LANGFLOW_SUPERUSER
|
|
description: Default admin username
|
|
type: string
|
|
default: "admin"
|
|
- name: LANGFLOW_SUPERUSER_PASSWORD
|
|
description: Default admin password (auto-generated)
|
|
type: password
|
|
length: 24
|
|
- name: LANGFLOW_SECRET_KEY
|
|
description: Secret key used to encrypt stored credentials (auto-generated)
|
|
type: random
|
|
length: 48
|
|
hidden: true
|
|
- name: DB_PASSWORD
|
|
description: PostgreSQL password (auto-generated)
|
|
type: password
|
|
length: 32
|
|
hidden: true
|
|
|
|
ports:
|
|
- port: "${HTTP_PORT}"
|
|
protocol: http
|
|
description: Langflow Web UI
|
|
|
|
requirements:
|
|
memory: 2GB
|
|
storage: 4GB
|
|
|
|
compose:
|
|
services:
|
|
langflow:
|
|
image: langflowai/langflow:1.7.2
|
|
container_name: ${APP_NAME}
|
|
restart: unless-stopped
|
|
ports:
|
|
- "${HTTP_PORT}:7860"
|
|
environment:
|
|
LANGFLOW_DATABASE_URL: "postgresql://langflow:${DB_PASSWORD}@db:5432/langflow"
|
|
LANGFLOW_CONFIG_DIR: /app/langflow
|
|
LANGFLOW_SUPERUSER: "${LANGFLOW_SUPERUSER}"
|
|
LANGFLOW_SUPERUSER_PASSWORD: "${LANGFLOW_SUPERUSER_PASSWORD}"
|
|
LANGFLOW_SECRET_KEY: "${LANGFLOW_SECRET_KEY}"
|
|
LANGFLOW_AUTO_LOGIN: "false"
|
|
LANGFLOW_HOST: 0.0.0.0
|
|
PORT: "7860"
|
|
volumes:
|
|
- langflow-data:/app/langflow
|
|
depends_on:
|
|
- db
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "curl -f http://127.0.0.1:7860/health || exit 1"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 60s
|
|
|
|
db:
|
|
image: postgres:16-alpine
|
|
container_name: ${APP_NAME}-db
|
|
restart: unless-stopped
|
|
environment:
|
|
POSTGRES_DB: langflow
|
|
POSTGRES_USER: langflow
|
|
POSTGRES_PASSWORD: "${DB_PASSWORD}"
|
|
volumes:
|
|
- langflow-db:/var/lib/postgresql/data
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U langflow -d langflow"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
langflow-data:
|
|
langflow-db:
|
|
|
|
post_install: |
|
|
Langflow is installed and running!
|
|
|
|
- Web UI: http://your-server:${HTTP_PORT}
|
|
- Username: ${LANGFLOW_SUPERUSER}
|
|
- Password: ${LANGFLOW_SUPERUSER_PASSWORD}
|
|
|
|
Sign in with the credentials above, then start building your first
|
|
multi-agent or RAG flow on the visual canvas.
|