Levelrail
Skip to content

Self-host Flowise (Postgres + Qdrant) with Docker ​

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

This page describes the Levelrail template for Flowise (Postgres + Qdrant) (AI). It deploys the services below as one Docker Compose app on your own server.

Project site: https://docs.flowiseai.com.

Recommended memory: about 2048 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
cacheredis:7-alpinenone
flowise_pg_redis_data -> /data
flowiseflowiseai/flowise:3.1.43000
flowise_pg_data -> /root/.flowise
qdrantqdrant/qdrant:v1.19.1none
flowise_pg_qdrant_data -> /qdrant/storage
recordmanagerpostgres:16-alpinenone
flowise_pg_recordmanager_data -> /var/lib/postgresql/data

Environment variables ​

ServiceVariableValue
flowiseAPIKEY_PATHPreset in the template
flowiseBLOB_STORAGE_PATHPreset in the template
flowiseDATABASE_PATHPreset in the template
flowiseFLOWISE_PASSWORDGenerated at deploy
flowiseFLOWISE_USERNAMEGenerated at deploy
flowiseLOG_PATHPreset in the template
flowisePORTPreset in the template
flowiseSECRETKEY_PATHPreset in the template
qdrantQDRANT__SERVICE__API_KEYGenerated at deploy
recordmanagerPOSTGRES_DBPreset in the template
recordmanagerPOSTGRES_PASSWORDGenerated at deploy
recordmanagerPOSTGRES_USERPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy Flowise (Postgres + Qdrant) with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select Flowise (Postgres + Qdrant). Review the Compose body and deploy.

With the CLI:

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

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More AI templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.