
Deploy Flowise
Flowise with persistent storage for visual AI agents and LLM workflows.
Flowise AI
Just deployed
/root/.flowise
Deploy and Host Flowise on Railway
Flowise is an open-source, low-code platform for building AI agents, chatbots, and LLM workflows visually. It provides a drag-and-drop web UI for connecting language models, tools, memory, retrievers, vector stores, APIs, and custom logic. This template deploys Flowise from the official GitHub repository with public web access, persistent storage, and configurable authentication.

About Hosting Flowise
Deploying Flowise on Railway from the official GitHub repository builds the application using the Dockerfile included in FlowiseAI/Flowise. Railway handles infrastructure, networking, deployments, and scaling, while Flowise provides a browser-based UI for building and managing AI workflows. The Flowise service listens on port 3000, and Railway can expose the app through a public Railway domain or custom domain. A Railway Volume should be mounted at /root/.flowise so Flowise data, API keys, credentials, logs, and configuration persist across restarts and redeployments. By default, this template sets the Flowise username to admin and password to admin123; users can change both values before or after deployment from Railway Variables.
Initial deployment may take several minutes because Railway builds Flowise from the official GitHub repository, installs dependencies, and compiles the application before starting the web UI.
Common Use Cases
- Building AI agents, chatbots, and LLM workflows with a visual drag-and-drop web UI
- Prototyping RAG pipelines using document loaders, embeddings, and vector stores
- Creating internal automation tools that connect LLMs, APIs, memory, and custom logic
- Testing and deploying LangChain-style workflows without building a custom frontend
Dependencies for Flowise Hosting
- Official Flowise GitHub repository:
https://github.com/FlowiseAI/Flowise - Dockerfile from the Flowise repository
- Public HTTP access through Railway on port
3000 - Railway Volume mounted at
/root/.flowisefor persistent storage - Default dashboard credentials using
FLOWISE_USERNAME=adminandFLOWISE_PASSWORD=admin123 - Secret key encryption value generated by Railway template variables
Deployment Dependencies
- Flowise GitHub repository: https://github.com/FlowiseAI/Flowise
- Flowise Railway deployment guide: https://docs.flowiseai.com/configuration/deployment/railway
- Flowise environment variables: https://docs.flowiseai.com/configuration/environment-variables
- Railway Public Networking: https://docs.railway.com/networking/public-networking
- Railway Volumes: https://docs.railway.com/reference/volumes
- Railway CLI: https://docs.railway.com/guides/cli
- Railway SSH guide: https://docs.railway.com/guides/ssh
Environment Variables
Use the following environment variables for this Railway template:
PORT="3000"
LOG_LEVEL="info"
APIKEY_PATH="/root/.flowise"
WORKER_PORT="5566"
NODE_OPTIONS="--max-old-space-size=8192"
FLOWISE_PASSWORD="admin123"
FLOWISE_USERNAME="admin"
SECRETKEY_ENCRYPT="${{secret(32, "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_!~*")}}"
PUPPETEER_SKIP_DOWNLOAD="true"
PUPPETEER_EXECUTABLE_PATH="/usr/bin/chromium-browser"
Default login credentials:
Username: admin
Password: admin123
Users can change FLOWISE_USERNAME and FLOWISE_PASSWORD from Railway Variables at any time. For public deployments, it is recommended to replace the default password with a stronger value before sharing the Flowise URL.
Public Web Access
Flowise provides a web UI. After deployment, expose the service using Railway Public Networking and open the generated Railway domain or your custom domain in a browser.
Recommended port:
3000
The service should use:
PORT="3000"
Once the Railway domain is active, visit the public URL in your browser and log in using the configured FLOWISE_USERNAME and FLOWISE_PASSWORD values. The default credentials are admin and admin123, unless changed in Railway Variables.
SSH Usage
SSH is optional and mainly useful for diagnostics. Most users should access Flowise through the public web UI instead.
Prerequisites
Ensure you have the necessary setup in place:
- The Railway CLI installed on your local machine
- Logged in with your Railway account using:
railway login
Usage
You can copy the exact SSH command directly from the Railway dashboard:
- Navigate to your project in the Railway dashboard.
- Right-click on the Flowise service you want to connect to.
- Select Copy SSH Command from the dropdown menu.
- Paste the command into your local terminal to connect to the running Flowise container.
Once connected, you can inspect files, review logs, check mounted storage, verify environment variables, or debug your Flowise deployment from inside the container.
Implementation Details
This template deploys Flowise from the official GitHub repository instead of using the prebuilt Docker image:
https://github.com/FlowiseAI/Flowise
Railway should build the app using the Dockerfile included in the repository. The upstream Dockerfile installs dependencies, builds Flowise, switches to a non-root node user, exposes port 3000, and starts the app with pnpm start.
This template includes default dashboard credentials so users can deploy quickly:
FLOWISE_USERNAME=admin
FLOWISE_PASSWORD=admin123
Users can change both values by editing the Railway Variables before deploying or after deployment. The other variables provide the default port, log level, worker port, memory settings, API key path, secret key generation, and Puppeteer/Chromium configuration.
For persistent storage, mount the Railway Volume at /root/.flowise. This path keeps Flowise data available across restarts and redeployments.
Why Deploy Flowise 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 Flowise 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
Flowise AI
FlowiseAI/FlowiseFLOWISE_PASSWORD
FLOWISE_USERNAME
