Self-host Flowise (Postgres + Qdrant) on a VPS

Flowise with a Postgres record manager, a Redis cache, and a Qdrant vector store, for production RAG flows.

levelrail-cli templates deploy flowise-postgres --name my-flowise-postgres

Specification

Status
Listed
Category
AI
Services
cache, flowise, qdrant, recordmanager
Ports
3000
Volumes
4
Memory
about 2 GiB
arm64
image published
amd64
image published
Settings to fill in
none

This template is deprecated. Upstream repository is archived.

About Flowise (Postgres + Qdrant)

Flowise with a Postgres record manager, a Redis cache, and a Qdrant vector store, for production RAG flows. Runs 4 containers (cache, flowise, qdrant, recordmanager), with flowise listening on port 3000; data is kept in named volumes.

What it deploys

Flowise (Postgres + Qdrant) runs as 4 services in a single Compose app, listening on port 3000, with 4 named volume mounts.

ServiceImageTagPortsVolumes
cache redis 7-alpine none flowise_pg_redis_data -> /data
flowise flowiseai/flowise 3.1.4 3000 flowise_pg_data -> /home/node/.flowise
qdrant qdrant/qdrant v1.19.1 none flowise_pg_qdrant_data -> /qdrant/storage
recordmanager postgres 16-alpine none flowise_pg_recordmanager_data -> /var/lib/postgresql/data

Before you install

  • CPU architecture. arm64 listed. Every image lists linux/arm64 in its registry manifest. That is a manifest fact, not proof the app runs on Arm.
  • Listed. It is in the catalog. Back up the data volume before changing an image tag.
  • Host ports. It publishes port 3000 directly on the host, so open them in the VPS firewall only if you want that.

Settings and environment

You do not have to fill in anything. 9 secrets are generated at deploy and stored encrypted. Values are never shown here.

ServiceVariableValue
flowiseAPIKEY_PATHPreset by the template
flowiseBLOB_STORAGE_PATHPreset by the template
flowiseDATABASE_HOSTPreset by the template
flowiseDATABASE_NAMEPreset by the template
flowiseDATABASE_PASSWORDGenerated at deploy
flowiseDATABASE_PATHPreset by the template
flowiseDATABASE_PORTPreset by the template
flowiseDATABASE_TYPEPreset by the template
flowiseDATABASE_USERPreset by the template
flowiseEXPRESS_SESSION_SECRETGenerated at deploy
flowiseFLOWISE_PASSWORDGenerated at deploy
flowiseFLOWISE_USERNAMEGenerated at deploy
flowiseJWT_AUTH_TOKEN_SECRETGenerated at deploy
flowiseJWT_REFRESH_TOKEN_SECRETGenerated at deploy
flowiseLOG_PATHPreset by the template
flowisePORTPreset by the template
flowiseSECRETKEY_PATHPreset by the template
flowiseTOKEN_HASH_SECRETGenerated at deploy
qdrantQDRANT__SERVICE__API_KEYGenerated at deploy
recordmanagerPOSTGRES_DBPreset by the template
recordmanagerPOSTGRES_PASSWORDGenerated at deploy
recordmanagerPOSTGRES_USERPreset by the template

Install Flowise (Postgres + Qdrant) on a VPS

  1. Install Levelrail on a fresh VPS

    Run this as root on a Linux server (amd64 or arm64) with ports 80 and 443 reachable. The installer prints a setup link.

    curl -fsSL https://levelrail.com/install.sh | sudo sh
  2. Sign in

    Open the setup link, choose a password, then log the CLI in. The CLI install command is curl -fsSL https://levelrail.com/install-cli.sh | sh if the machine does not have it. See Getting started.

    levelrail-cli login --device
  3. Read the template

    Shows the entry, including its full compose.yaml.

    levelrail-cli templates get flowise-postgres
  4. Deploy it

    This deploys the template compose file as an app. The app name defaults to the template id; --name sets another.

    levelrail-cli templates deploy flowise-postgres --name my-flowise-postgres

Without a domain the app gets an sslip.io address. You can also deploy it from the dashboard: Apps, New app, Browse templates, then Flowise (Postgres + Qdrant).

More in AI

All AI templates