Flowise self hosted: deployment, required services and on premise options

Self-hosting Flowise is supported: the Apache 2.0 core installs in your own infrastructure without a paid subscription, while enterprise directory code needs an Enterprise subscription for production. The project is sunset, so you own maintenance of archived code.

On this page

How self-hosted Flowise meets an on-premise requirement

A platform team can self-host the Apache 2.0 core of Flowise without a paid subscription for that core, but production use of the enterprise directory requires an Enterprise subscription. The sunset notice changes the on-premise decision more than the license does. FlowiseAI froze code on July 29, 2026, planned archival of the repository for August 10, 2026 and set end of life for August 31, 2026. The last release is flowise@3.1.4, published July 29, 2026, so once the platform runs in your network, your team owns maintenance of frozen code: patches for the Node.js 20 runtime, npm dependencies, the database, Redis in queue mode and file storage. Plan on no upstream fixes for vulnerabilities found in that code.

Before approval, settle three decisions. First, decide whether to run flowise@3.1.4 as published or maintain an internal fork of the Apache 2.0 code, which the sunset notice encourages teams to consider for internal updates or community-led forks. Second, name an owner for each component you patch: the database (SQLite is the default, while MySQL, PostgreSQL and MariaDB are supported), Redis if you run queue mode, and the storage backend set through STORAGE_TYPE. Third, check whether any requirement depends on enterprise code. Single sign-on is documented for the Enterprise plan, and workspace role-based access control is documented for Cloud and Enterprise, so an identity or access requirement may need a subscription. Ask FlowiseAI in writing whether Enterprise subscriptions and support continue after August 31, 2026.

Use the Commercial License to draw the boundary. Code in packages/server/src/enterprise and files with explicit copyright notices fall under a separate license that allows copying and modifying for development and testing without a subscription. Map which enterprise features your deployment actually loads, so the subscription question applies only where production uses that code. Then run a dependency and vulnerability scan on the build you intend to deploy, rehearse a restore from backup on the database and file storage, and write a patch cadence the team can sustain for as long as the platform stays in service. Record the decision, the owners and a review date in the approval so the risk has a named accountable party.

What self-hosting Flowise includes by license and option

This table lists each way to install Flowise, the services it needs and the on-premise options, with a status for each. Read the status first: built in means the option is documented in the open-source core, paid only means a commercial subscription applies, outside component means a third party or your team supplies it, and not documented means you should not assume it works. Because the repository is archived, every built in option runs on code your team maintains.

CapabilityStatusWhat to confirm
npm, Docker Compose and local Docker imagebuilt inNode.js 20 or later for npm. Confirm the Compose files match the release you deploy, flowise@3.1.4.
Kubernetes with Helm chart, AWS, Azure, DigitalOcean and GCPbuilt inSettings come from environment variables and a .env file. Confirm the chart version and your cloud's support with your platform team.
Managed platforms such as Render and Railwayoutside componentThe platform runs the container, so confirm its network controls, backups and data location yourself.
SQLite (default), MySQL, PostgreSQL and MariaDBbuilt inSet DATABASE_TYPE and related variables. Confirm your backup and recovery process covers the chosen engine.
Queue mode with Redis and worker processesbuilt inThe default main mode runs in one Node.js process. Queue mode needs MODE=queue, Redis via REDIS_URL or REDIS_HOST, and workers.
File storage: local, AWS S3 or Google Cloud Storagebuilt inSet STORAGE_TYPE. Local storage defaults to a folder in the home directory, so plan persistent volumes.
Enterprise directory code in productionpaid onlyProduction use needs a valid Enterprise Edition subscription. Development and testing use does not need one.
Air-gapped installationnot documentedNot covered in the published docs. Confirm with the vendor before approval.
Upstream maintenance after the sunsetoutside componentEnd of life was set for August 31, 2026. Confirm who patches security issues and whether a fork meets your review needs.

What a self-hosted Flowise install is made of

A self-hosted Flowise install is a Node.js server that runs on Node.js 20 or later, plus a database and a place for uploaded files. The database holds application data and defaults to SQLite, a single file on the server's disk. The documented alternatives are MySQL, PostgreSQL and MariaDB, selected with the DATABASE_TYPE setting and its related connection variables. Make this choice before the first production deployment. Moving an existing install from SQLite to a server database is a migration your team has to plan, test and back up, and the database documentation should be the reference for the exact settings of your engine.

Uploaded files go to the storage set by STORAGE_TYPE, which accepts local disk, AWS S3 or Google Cloud Storage. Local storage defaults to a folder in the home directory of the account running Flowise, so a container rebuild or server replacement can strand those files unless you mount and back up that path deliberately. Object storage keeps files off the application host, but it brings bucket permissions, encryption settings and retention into your review. On the process side, the default main mode runs everything in one Node.js process. Queue mode, enabled by setting MODE to queue, adds Redis, reached through REDIS_URL or REDIS_HOST, and separate worker processes. Each extra component is another service to deploy, monitor and back up, so choose queue mode only when the workload justifies it, and test restarts of workers and Redis before you rely on it.

All settings come from environment variables, which you can also keep in a .env file, so secrets handling is a decision you own. The values include database passwords, storage credentials and Redis connection details. Decide where they live (a secrets manager that injects them at startup, or a file with restricted read access), who can see them, and how they rotate. Keep the .env file out of version control and out of container images. Because the repository is archived, the upstream project will not patch a secret-handling problem for you, so your team needs to watch the release history and the sunset notice and apply any fix itself. Check the environment variable reference for the full list before you set production values.

Where data flows when self-hosted Flowise runs in your network

The diagram starts with users and API clients sending chat requests to the Flowise server inside your network. The server stores application data such as flows and chat history in the database you configure, and it writes uploaded files to local disk, S3 or Google Cloud Storage, set through STORAGE_TYPE. In queue mode, the server places jobs on Redis and worker processes pick them up. The arrows to model and tool providers are the only paths that leave your boundary, so they decide what data leaves your environment. Before go-live, check which providers each flow calls, what they retain, and whether those terms fit your data classification.

Requests stay inside your boundary until they reach a model or tool provider.

Five choices that set the risk of a self-hosted Flowise deployment

Self-hosting Flowise puts five infrastructure decisions in your hands, and each one decides who carries the risk for recovery, scale, data residency or supply chain. Make them before anyone runs a build, because changing them later usually means migrating data or rebuilding the deployment. The cards below set out what each choice affects and what your team must settle first.

Hosting target and install method

Flowise installs with npm on Node.js 20 or later, with Docker Compose, or from a locally built Docker image. Where it runs decides who patches the operating system, who restores it after a failure, and where data sits. The deployment docs list AWS, Azure, DigitalOcean, GCP and Kubernetes with a Helm chart, plus managed platforms such as Render and Railway. On a managed platform, the provider controls part of the stack, so confirm its data location and recovery terms in writing before you choose it.

Flowise deployment docs

Database engine choice

Flowise defaults to SQLite, and its docs also list MySQL, PostgreSQL and MariaDB, selected with DATABASE_TYPE. The engine sets your backup tooling, your restore steps and how far the instance can scale. A file-based default suits a trial, but production needs a database your operations team already backs up, monitors and restores. Decide the engine, host, version and backup schedule before build, and test a restore on a copy.

Flowise database docs

Single process or queue mode

The default main mode runs Flowise in a single Node.js process. Setting MODE=queue moves work to worker processes that coordinate through Redis, which becomes a service you must run, secure and recover. Redis is configured with REDIS_URL or REDIS_HOST, and queue mode adds failure modes that a single process does not have. Choose it when load or availability needs call for it, and decide before build who operates Redis, how many workers run and how lost queued jobs are handled.

Flowise queue docs

Uploaded file storage location

Flowise stores uploaded files on local disk by default, in a folder in the home directory of the user running it. STORAGE_TYPE can also point to AWS S3 or Google Cloud Storage. The choice decides where uploaded documents live for data residency reviews, whether every node sees the same files and what your backup job must capture. Local disk ties files to one host. Decide the bucket or folder, region, encryption, access policy and retention before build, and confirm that backups cover storage and the database together.

Flowise environment variables

Build source and version pinning

The Flowise repository is archived, so expect no upstream fixes from the maintainer. The latest release is flowise@3.1.4, published July 29, 2026. Pin an exact release tag or commit, build it in your own pipeline and keep the image digest and dependency lock in your records. Decide who owns security patches, whether you maintain an internal fork under the Apache 2.0 core terms, and how you will test a change before production. Ask whether any community fork you consider has a named maintainer and a release history.

Sunset notice

How the answer changes for teams, regulated data and air-gapped networks

A pilot for one team can run in the default main mode with SQLite, the database the Flowise docs list as the default, and local file storage in a folder under the home directory. The README documents three install paths: npm on Node.js 20 or later, Docker Compose from the docker folder, or a locally built Docker image. This keeps the component count low, but the pilot still inherits the project's status, since the repository is archived and the sunset notice set end of life for August 31, 2026. Treat the pilot as a test of the flows and keep long-lived business data out of it.

  • Components that stay the same: Node.js 20 or later, one Node.js process in main mode, and SQLite at its default file location.
  • Storage to confirm: Where the local upload folder sits in your container or host, and whether it sits on a volume that survives a rebuild.
  • Settings handling: Keep configuration in environment variables and a .env file, and keep that file out of version control.
  • Version record: Record the exact release you run. The latest documented release is flowise@3.1.4, published July 29, 2026, and you should confirm with the vendor whether any later fixes exist.
  • Flow records: Keep each flow definition and its configuration in your own version control so you can rebuild the pilot elsewhere.

Check that the database location, upload folder and release number are written into your runbook before any user adds data.

What the sunset and the license leave for you to cover

Running Flowise after the July 2026 sunset means owning work the project no longer does for you: security patches, offline delivery, license compliance, recovery, secrets and outbound data paths. Each card names the usual way teams cover one item and what to confirm before choosing it.

No upstream fixes after sunset

The sunset notice set a code freeze for July 29, 2026, planned repository archival for August 10, 2026 and end of life for August 31, 2026. The repository is now archived, and the latest release, flowise@3.1.4, was published on July 29, 2026, so upstream fixes for Flowise and its dependencies should not be expected. Teams usually cover this with a maintained fork that they track, patch and rebuild on their own schedule. Confirm who owns the fork, how dependency advisories are triaged and how often images are rebuilt.

Sunset notice

Offline installation needs its own pipeline

The README documents installs with npm on Node.js 20 or later, Docker Compose and a locally built Docker image. Each of these pulls packages or base images from public registries during the build, and the project documentation does not describe an offline install. Teams usually cover this by building a offline artifact pipeline that mirrors npm packages and container images, builds the Flowise image inside the network and carries Redis and database images across as well. Test the result on a host with no outbound access and confirm whether any node fetches resources at runtime.

Flowise README

Enterprise code needs a subscription

Code in the packages/server/src/enterprise directory, along with files that carry explicit copyright notices, falls under a separate Commercial License that is distinct from the Apache 2.0 core. That license requires a valid Enterprise Edition subscription for production use, while copying and modifying the code for development and testing is permitted without one. Teams usually cover this with a licensing memo that maps which features run in production, including SSO and workspace role controls that Flowise documents for Cloud and Enterprise plans. Ask counsel to confirm the file boundaries in your fork.

Commercial License text

Backup and recovery are yours

The docs do not describe a built-in backup or disaster recovery feature, so the recoverable state sits in several places. The database is SQLite by default, or MySQL, PostgreSQL or MariaDB when configured, uploaded files sit in a local folder in the home directory or in AWS S3 or Google Cloud Storage, and queue mode keeps its state in Redis. Teams usually cover this with their own backup tooling that snapshots each store on one schedule, keeps copies outside the cluster and rehearses a full restore on a clean host. Confirm the recovery point and recovery time targets your business needs before choosing tools.

Flowise database docs

Secrets live in environment files

The deployment docs keep settings in environment variables and a .env file, which is where database credentials, the Redis connection and storage keys usually end up. Anyone who can read the host, the container definition or a copied repository can read those values, and careless handling can expose them in logs and shell history. Teams usually cover this with a secrets manager that injects values at container start, with restricted permissions on any remaining .env file. Rotate credentials that were shared during the fork handover and confirm that no secret is baked into the image you build.

Environment variables docs

Model and tool egress sets privacy

A chatflow sends what its nodes receive to the endpoints they call, so the model provider, vector store, web search or custom tool decides where prompts, documents and outputs travel. Flowise's data handling depends on which nodes your team enables and how each one is configured. Teams usually cover this with an egress allowlist per workload, so Flowise hosts can reach only approved model and tool endpoints, with denied connections logged. Review every custom tool for outbound calls and confirm each node's data destination with its vendor before recording the result in your data flow records.

Which self-hosted Flowise rollout steps reviewers check before production

Reviewers look for this sequence when a team plans to run Flowise in its own infrastructure after the July 2026 sunset notice. Each step fixes one decision, from the maintenance model and license position to the patch runbook, and ends with a check that must pass before the next step starts. The output is a production baseline that a security or compliance reviewer can trace back to a pinned build.

  1. Decide the maintenance model and license position

    Choose how your team will maintain the code: run the archived Apache 2.0 release as a pinned version, maintain an internal fork, or adopt a community-led fork. Legal or procurement writes down the license position, covering the Apache 2.0 core and the Commercial License that applies to the enterprise directory, and states whether any enterprise code will run in production. The maintenance owner is named in the same document. Done when the signed position and owner are filed with the change record and reviewers can see which code is in scope.

  2. Build the artifact from a pinned version

    Select a release tag and build only from that tag. Flowise 3.1.4, published July 29, 2026, is the latest release as of December 2026, so confirm it is the version to freeze. Build with npm on Node.js 20 or later, from the Docker Compose folder, or as a locally built Docker image, using your platform team's existing method. Record the tag, commit hash, Node.js version and image digest in the change record. Done when a rebuild from the same tag and lock file produces an equivalent dependency tree, and the enterprise directory in the build matches your license position from step one.

  3. Provision the database and storage in your boundary

    Run the database inside your boundary. SQLite is the default, while MySQL, PostgreSQL and MariaDB are supported and set through DATABASE_TYPE and related variables. Keep it off the public network. Point uploaded files at storage you control with STORAGE_TYPE set to local, AWS S3 or Google Cloud Storage. Local storage defaults to a folder in the home directory, so set an explicit path. Restore a copy of the database and file store into a separate environment and open a flow that uses an uploaded file. Done when the restored instance shows the same flows and files, and the restore steps are written down.

  4. Add Redis and workers only if needed

    Stay in main mode unless you need queued, separately scaled execution. The default main mode runs in a single Node.js process. Queue mode is enabled with MODE=queue and uses Redis through REDIS_URL or REDIS_HOST, plus worker processes that your team must deploy and monitor. Test failure behavior before production: stop a worker during a running job, restart Redis, and record whether each job retries, fails visibly or is lost. Do not assume job behavior from the documentation alone. Done when the test results are filed and the operations team accepts the recovery procedure.

  5. Review egress and secrets before go live

    List every outbound destination that flows and tools will call, including model providers, vector stores, webhooks and package sources. Allow only those at the network layer, and confirm the app host cannot reach anything else. Keep database passwords, model provider keys and JWT-related settings in your secret manager, and inject them as environment variables at startup. Keep any .env file out of images and repositories. Done when a connection test to a destination outside the list fails, and a secret scan of the image and repository finds no credential values.

  6. Set a patch runbook for runtime and dependencies

    Write the runbook for the Node.js runtime, the operating system image and the Flowise dependency tree, since the project is frozen and no upstream fixes should be assumed. Name the owner, the advisory feeds your team watches, and the trigger for an emergency rebuild. Rehearse one full cycle on a staging copy: rebuild from a new pinned tag or patched fork commit, run the restore test from step three, and promote only after the flows pass. Done when the rehearsal log, the owner list and the rollback image are stored with the change record.

What a security reviewer asks to see for a self-hosted Flowise instance

This table lists the evidence a security reviewer usually requests before approving a self-hosted Flowise instance, with the reason for each request and where the evidence comes from. Read each row as a document your team must produce or a control it must show, since the project archived its repository and stopped development after the sunset notice. The main takeaway is that most items are your own records, so start them before the review date.

EvidenceWhy the reviewer asksWhere it comes from
Architecture and data-flow diagramShows where the app, database, Redis, file storage and model calls run, and which trust boundaries data crosses.Your platform team, built from the chosen install method (npm, Docker Compose or Helm) and main or queue mode.
Version pin and build recordProves which Flowise release runs, such as flowise@3.1.4, and that the image was built from that exact tag.Your build pipeline: lockfile, image digest and the release tag from the project's releases page.
License position memo for the Apache 2.0 core and Commercial LicenseShows which code is Apache 2.0 and whether enterprise code in packages/server/src/enterprise runs in production under a paid subscription.Your legal or compliance team, based on the repository LICENSE.md and the enterprise license file.
Database and storage configurationShows the database type, its version, encryption and backup settings, and whether file storage is local, S3 or Google Cloud Storage.Your environment variable file and infrastructure code, checked against the project's database and environment docs.
Backup and restore test recordShows that the database and uploaded files restore into a clean instance and that flows run afterward.Your operations team, from a dated restore exercise with results kept alongside the change record.
Egress allowlist for model providersShows which external model and API endpoints the instance may reach, so data leaving the network is controlled.Your network team, from firewall or proxy rules matched to the model providers configured in flows.
Patch and maintenance runbook after end of lifeShows how fixes are sourced once upstream development has stopped, such as an internal fork, dependency updates and rebuild cadence.Your engineering owner, written against the project's sunset notice, which set end of life for August 31, 2026.
Scan results for the built imageShows known vulnerabilities in the operating system layer, Node.js packages and the Flowise build, with triage decisions.Your security team, from an image scanner run on the exact digest deployed, with findings recorded.

What buyers ask before self-hosting Flowise

Does self-hosting Flowise cost a license fee?

Running the Apache 2.0 core yourself carries no license fee, but production use of the code in packages/server/src/enterprise requires a valid Enterprise Edition subscription under a separate Commercial License. Development and testing with that code are permitted without a subscription. The subscription price is not published, so request a written quote that states the seats, term and support level. The enterprise subscription adds the right to run that code in production, along with features the documentation places on the Enterprise plan, such as OIDC single sign-on. Your own costs remain: servers or cloud accounts, the database, Redis if you run queue mode, object storage, model API usage, and the staff time to install, secure and operate the system. Ask the vendor whether a subscription still applies after the sunset date.

How much engineering effort does a self-hosted Flowise need?

Effort depends mainly on your team's skills with Node.js, containers, databases and queue infrastructure, and on how much of the archived code you plan to change. Teams that already run Node.js services in Docker or Kubernetes will find installation familiar. Teams without that background should plan for learning time or outside help. Maintenance is heavier than usual because the upstream project will not fix new bugs, dependency vulnerabilities or compatibility problems with newer Node.js versions. Your team must track advisories, rebuild images, test each change and decide whether to carry patches on a fork. Ask any provider to scope effort against your actual stack, with the Node.js and database versions named, and to separate one-time build work from the recurring operations work in the quote.

Can our team install Flowise ourselves, and what needs outside help?

Yes, a team with Linux and container experience can install Flowise using the documented methods: npm with Node.js 20 or later, Docker Compose from the docker folder, or a locally built Docker image. Installation is usually the smaller part of the work. Outside help is most useful for the decisions and checks that follow: choosing between SQLite, MySQL, PostgreSQL and MariaDB, setting up queue mode with Redis and worker processes, moving uploaded files from local storage to S3 or Google Cloud Storage, placing TLS and access controls in front of the app, wiring single sign-on, and writing backup and restore runbooks that you have tested. Use the Flowise deployment guide as the baseline, and require a demonstrated restore before accepting any handover.

Is archived Flowise safe to run after end of life, and who patches it?

It can run, but its safety depends on what your team does after the code stops receiving updates. FlowiseAI announced a code freeze on July 29, 2026, planned repository archival for August 10, 2026, and end of life for August 31, 2026. The latest release, flowise@3.1.4, was published on July 29, 2026, and the repository is now archived. The Apache 2.0 core stays on GitHub, and the project encourages teams to fork it for their own updates. In practice, the owner of patches is whoever operates your fork: your team, a partner, or a support retainer. Agree in writing who monitors advisories for Node.js, npm packages and the container base image, who applies fixes, how they are tested, and how quickly critical fixes ship. Read the sunset notice for the full timeline.

Does self-hosted Flowise keep our data inside our network?

Data stays inside your network only if every component that handles it runs inside that network, and your deployment choices decide that. The application, database, Redis queue and uploaded files live wherever you install them. The main leak path is outbound calls: each flow sends prompts and retrieved content to the model provider, vector store or tool it calls, so a hosted model API moves that data outside your perimeter. Uploaded files use local disk by default, but STORAGE_TYPE can point to AWS S3 or Google Cloud Storage, which places them in that cloud account. Review the environment variable reference for telemetry and update settings, then confirm egress with firewall logs while running sample flows. Document the data path for each flow in your security review.

Can Flowise run air-gapped, and what should we confirm first?

It may run in an isolated network, but current documentation does not describe a fully offline install, so confirm that with FlowiseAI or prove it in your own environment before committing. Start with the install path. npm packages, the Node.js runtime, Docker base images and any Helm chart need internal mirrors or pre-built artifacts that you approve and scan. Next, check runtime dependencies. The database, Redis for queue mode and file storage must be reachable inside the enclave, and any model endpoint must be local or an internal gateway instead of a hosted API. Confirm how enterprise code behaves without internet access, since production use requires a subscription. Then test in a staging enclave with internet egress blocked, run your core flows end to end, and keep the results as evidence for your accreditation file.

How DeployOpen deploys and supports self-hosted Flowise in your infrastructure

DeployOpen plans, implements, customizes, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For Flowise, that work starts with a written scope that accounts for the July 2026 sunset, the archived repository and the license split between the Apache 2.0 core and the enterprise directory. Engagements are fixed-scope, and ongoing support is available as a retainer.

How we scope

  • The written scope names the Flowise version, the database, and whether queue mode with Redis is in or out.
  • It records whether the enterprise directory is in scope, which needs a valid Enterprise Edition subscription for production use.
  • The scope also records whether you run the archived code as is or on your own fork.

How we build

  • Install with npm on Node.js 20 or later, Docker Compose, or a locally built Docker image.
  • Choose SQLite, MySQL, PostgreSQL or MariaDB and set DATABASE_TYPE and related variables in your environment file.
  • Add queue mode with Redis and workers only if load requires it, and choose file storage for uploads.

How we hand over

  • Handover covers environment variables, the deployment method, database and Redis settings, and storage configuration as written documentation.
  • Documentation records the license position, including which enterprise files are present and which subscription applies.
  • Runbooks cover backups, restores and the upgrade steps your team will follow, including any fork you maintain.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, scoped in writing.
  • Retainers can cover reviewing the 3.1.4 release and deciding on fixes for code that no longer receives upstream updates.
  • Security testing of the deployed application and its APIs can be scoped alongside support.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.