Deploy FlowiseAI

Open-source low-code tool to build AI agents and LLM workflows visually

Deploy FlowiseAI

/var/lib/postgresql/data

Just deployed

/home/node/.flowise

Bucket

Bucket

Just deployed

Deploy and Host FlowiseAI on Railway

Flowise is an open-source, low-code tool for building AI agents, chatbots and LLM workflows with a drag & drop interface. Connect models, vector stores, tools and memory visually, then expose your flows through an API or an embeddable chat widget.

> Note: The upstream Flowise repository was archived on Aug 13, 2026 and is no longer actively maintained. This template deploys the last available image. Use it at your own discretion and keep it behind authentication.

About Hosting FlowiseAI

Hosting Flowise means running a single Node.js service (the official flowiseai/flowise image) that serves both the UI and the API on one HTTP port. By default it stores data in SQLite and uploads on local disk, so you need a persistent volume mounted at /home/node/.flowise to avoid losing flows, credentials and files on redeploy. For production, you can switch to Postgres or MySQL with the DATABASE_* variables, use S3, GCS or Azure Blob for uploads, and set FLOWISE_SECRETKEY_OVERWRITE so your encryption key survives redeploys. Railway handles the build, networking, HTTPS and volumes for you.

Common Use Cases

  • Build RAG chatbots over your own documents and knowledge bases
  • Create multi-step AI agents that call tools, APIs and custom functions
  • Prototype and ship LLM workflows, then embed them in a website or call them via REST API

Dependencies for FlowiseAI Hosting

  • Flowise Docker image (flowiseai/flowise)
  • Persistent volume mounted at /home/node/.flowise (SQLite database, encryption key and uploads)
  • Optional: Postgres or MySQL database, S3-compatible storage, Redis (queue mode)

Implementation Details

Flowise is configured entirely through environment variables. The most useful ones:

VariableDescriptionDefault
PORTHTTP port Flowise listens on3000
DATABASE_TYPEsqlite, mysql or postgressqlite
DATABASE_PATHWhere SQLite is saved (sqlite only)~/.flowise
DATABASE_HOST / DATABASE_PORTDatabase host and port (non-sqlite)
DATABASE_USER / DATABASE_PASSWORD / DATABASE_NAMEDatabase credentials and name (non-sqlite)
DATABASE_SSLConnect over SSL (Postgres)false
DATABASE_SSL_KEY_BASE64SSL client cert in base64 (takes priority over DATABASE_SSL)
SECRETKEY_PATHWhere the credentials encryption key is storedpackages/server
FLOWISE_SECRETKEY_OVERWRITEEncryption key used instead of the stored one
STORAGE_TYPEUploads storage: local, s3, gcs or azurelocal
BLOB_STORAGE_PATHLocal uploads folder (when local)~/.flowise/storage
S3_STORAGE_BUCKET_NAME / S3_STORAGE_ACCESS_KEY_ID / S3_STORAGE_SECRET_ACCESS_KEY / S3_STORAGE_REGIONS3 storage settings
S3_ENDPOINT_URL / S3_FORCE_PATH_STYLECustom S3 endpoint and path-style addressingfalse
GOOGLE_CLOUD_STORAGE_PROJ_ID / GOOGLE_CLOUD_STORAGE_CREDENTIAL / GOOGLE_CLOUD_STORAGE_BUCKET_NAMEGCS storage settings
AZURE_BLOB_STORAGE_CONNECTION_STRINGAzure connection string (or use account name + key)
CORS_ORIGINSAllowed origins for cross-origin calls
CORS_ALLOW_CREDENTIALSEnable Access-Control-Allow-Credentialsfalse
IFRAME_ORIGINSAllowed origins for iframe embedding
FLOWISE_FILE_SIZE_LIMITMax upload size50mb
TRUST_PROXYProxy trust settings for correct IP detectiontrue
SHOW_COMMUNITY_NODESShow community-created nodes
DISABLED_NODESComma-separated node names to hide
DISABLE_FLOWISE_TELEMETRYTurn off telemetry
MODEL_LIST_CONFIG_JSONPath to a custom model list file
TOOL_FUNCTION_BUILTIN_DEP / TOOL_FUNCTION_EXTERNAL_DEPNode.js modules allowed in Custom Tools and Functions
ALLOW_BUILTIN_DEPAllow project dependencies in Custom Toolsfalse
DEBUGPrint component logs
LOG_LEVELerror, info, verbose or debuginfo
LOG_PATHLog files locationFlowise/logs

Authentication and advanced options (see the Flowise docs for the full list):

VariableDescription
APP_URLPublic URL of your instance
JWT_AUTH_TOKEN_SECRET / JWT_REFRESH_TOKEN_SECRETSecrets used to sign auth tokens
EXPRESS_SESSION_SECRET / TOKEN_HASH_SECRETSession and token hashing secrets
SECURE_COOKIESUse secure cookies (set true behind HTTPS)
SMTP_HOST / SMTP_PORT / SMTP_USER / SMTP_PASSWORD / SENDER_EMAILEmail settings for invites and password resets
MODESet to queue to enable queue mode
REDIS_URL or REDIS_HOST / REDIS_PORT / REDIS_PASSWORDRedis connection (queue mode)
WORKER_CONCURRENCY / QUEUE_NAMEQueue worker settings
ENABLE_METRICS / METRICS_PROVIDERMetrics collection (Prometheus or OpenTelemetry)
HTTP_DENY_LIST / HTTP_SECURITY_CHECKRestrict outbound HTTP requests from tools

Docker equivalent (healthcheck at /api/v1/ping):

services:
  flowise:
    image: flowiseai/flowise:latest
    restart: always
    environment:
      - PORT=3000
    ports:
      - '3000:3000'
    healthcheck:
      test: ['CMD', 'curl', '-f', 'http://localhost:3000/api/v1/ping']
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 30s
    volumes:
      - ~/.flowise:/home/node/.flowise
    entrypoint: /bin/sh -c "sleep 3; flowise start"

The container runs as the non-root node user, so the mounted volume must be writable by it.

Why Deploy FlowiseAI on Railway?

Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.

By deploying FlowiseAI on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.


Template Content

More templates in this category

View Template
Chat Chat
Chat Chat, your own unified chat and search to AI platform.

okisdev
116
View Template
stella
Self-host stella with web, API, Postgres, Redis, and object storage.

Jan Kubica
7
View Template
Hermes Agent | OpenClaw Alternative with Dashboard
Self-Hosted Hermes AI Agent for Telegram, Discord & Slack

codestorm
85