Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 87 additions & 12 deletions src/data/playground-configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3750,18 +3750,52 @@ export const chartConfigs: Record<string, ChartConfig> = {
name: 'General',
fields: [
{
label: 'Replica Count',
key: 'replicaCount',
type: 'number',
default: '1',
description: 'Number of replicas',
label: 'Webhook URL',
key: 'n8n.webhookUrl',
type: 'text',
default: '',
description: 'Full external URL for webhook triggers. Required for all webhook nodes.',
},
Comment thread
coderabbitai[bot] marked this conversation as resolved.
{
label: 'Editor Base URL',
key: 'n8n.editorBaseUrl',
type: 'text',
default: '',
description: 'Editor base URL, auto-detected from ingress when empty',
},
{
label: 'Storage Size',
key: 'persistence.size',
type: 'text',
default: '5Gi',
description: 'PVC storage size',
description: 'n8n data PVC size',
},
],
},
{
name: 'Queue',
collapsible: true,
fields: [
{
label: 'Enable Queue Mode',
key: 'queue.enabled',
type: 'toggle',
default: 'false',
description: 'Run n8n in Redis-backed queue mode',
},
{
label: 'Workers',
key: 'queue.workers',
type: 'number',
default: '1',
description: 'Worker replicas when queue mode is enabled',
},
{
label: 'Worker Concurrency',
key: 'queue.concurrency',
type: 'number',
default: '10',
description: 'Workflow executions per worker',
},
],
},
Expand Down Expand Up @@ -4432,17 +4466,44 @@ export const chartConfigs: Record<string, ChartConfig> = {
fields: [
{
label: 'Replica Count',
key: 'replicaCount',
key: 'flowise.replicaCount',
type: 'number',
default: '1',
description: 'Number of replicas',
description: 'Main Flowise server replicas',
},
{
label: 'Application URL',
key: 'flowise.appUrl',
type: 'text',
default: '',
description: 'Public Flowise URL, auto-detected from ingress when empty',
},
{
label: 'Storage Size',
key: 'persistence.size',
type: 'text',
default: '5Gi',
description: 'PVC storage size',
default: '10Gi',
description: 'Flowise data PVC size',
},
],
},
{
name: 'Queue',
collapsible: true,
fields: [
{
label: 'Worker Replicas',
key: 'queue.worker.replicaCount',
type: 'number',
default: '1',
description: 'Worker replicas when queue mode is enabled',
},
{
label: 'Worker Concurrency',
key: 'queue.worker.concurrency',
type: 'number',
default: '100000',
description: 'Simultaneous BullMQ jobs per worker',
},
],
},
Expand Down Expand Up @@ -4481,11 +4542,26 @@ export const chartConfigs: Record<string, ChartConfig> = {
fields: [
{
label: 'Hostname',
key: 'ingress.hostname',
key: 'ingress.hosts[0].host',
type: 'text',
default: 'flowise.example.com',
description: 'Ingress hostname',
},
{
label: 'Path',
key: 'ingress.hosts[0].paths[0].path',
type: 'text',
default: '/',
description: 'Ingress path',
},
{
label: 'Path Type',
key: 'ingress.hosts[0].paths[0].pathType',
type: 'select',
default: 'Prefix',
options: ['Prefix', 'Exact', 'ImplementationSpecific'],
description: 'Ingress path matching mode',
},
{
label: 'Ingress Class',
key: 'ingress.ingressClassName',
Expand All @@ -4494,7 +4570,6 @@ export const chartConfigs: Record<string, ChartConfig> = {
options: ['traefik', 'nginx'],
description: 'Ingress controller class',
},
{ label: 'TLS', key: 'ingress.tls', type: 'toggle', default: 'false', description: 'Enable TLS' },
],
},
],
Expand Down
50 changes: 28 additions & 22 deletions src/pages/docs/charts/flowise.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,15 @@ architecture:
mode: queue

flowise:
replicaCount: 2 # main pods (UI + API + job submission)
replicaCount: 1 # start with one main pod for first-boot migrations
startupDelaySeconds: 3
appUrl: 'https://flowise.example.com'

queue:
name: flowise-queue
worker:
replicaCount: 3 # separate worker pods consuming BullMQ jobs
startupDelaySeconds: 30 # let the main pod own initial database migrations
concurrency: 10 # simultaneous BullMQ jobs per worker

auth:
Expand Down Expand Up @@ -252,19 +254,20 @@ persistence:
| Parameter | Type | Default | Description |
| ------------------ | ------ | ----------------------------- | -------------- |
| `image.repository` | string | `docker.io/flowiseai/flowise` | Flowise image. |
| `image.tag` | string | `"3.1.1"` | Image tag. |
| `image.tag` | string | `"3.1.3"` | Image tag. |

### Flowise Configuration

| Parameter | Type | Default | Description |
| -------------------------- | ------- | ------- | ------------------------------------------------------- |
| `flowise.replicaCount` | integer | `1` | Main pod replicas. Use `queue` mode for more than 1. |
| `flowise.appUrl` | string | `""` | Full public URL. Auto-detected from Ingress if empty. |
| `flowise.logLevel` | string | `info` | Log level: `error`, `warn`, `info`, `verbose`, `debug`. |
| `flowise.fileSizeLimit` | string | `50mb` | Maximum file upload size accepted by Flowise. |
| `flowise.corsOrigins` | string | `*` | Allowed CORS origins. |
| `flowise.disableTelemetry` | boolean | `true` | Disable telemetry reporting. |
| `flowise.extraEnv` | array | `[]` | Extra environment variables for the main container. |
| Parameter | Type | Default | Description |
| ----------------------------- | ------- | ------- | ------------------------------------------------------- |
| `flowise.replicaCount` | integer | `1` | Main pod replicas. Use `queue` mode for more than 1. |
| `flowise.startupDelaySeconds` | integer | `3` | Delay before starting the main Flowise server. |
| `flowise.appUrl` | string | `""` | Full public URL. Auto-detected from Ingress if empty. |
| `flowise.logLevel` | string | `info` | Log level: `error`, `warn`, `info`, `verbose`, `debug`. |
| `flowise.fileSizeLimit` | string | `50mb` | Maximum file upload size accepted by Flowise. |
| `flowise.corsOrigins` | string | `*` | Allowed CORS origins. |
| `flowise.disableTelemetry` | boolean | `true` | Disable telemetry reporting. |
| `flowise.extraEnv` | array | `[]` | Extra environment variables for the main container. |

### Auth Secrets

Expand All @@ -290,7 +293,7 @@ persistence:
| `database.external.ssl` | boolean | `false` | Enable SSL for external database connections. |

<Callout type="info" title="External PostgreSQL requires uuid-ossp extension">
Flowise 3.1.1 migrations use `uuid_generate_v4()`, which requires `uuid-ossp`. The bundled
Flowise 3.1.3 migrations use `uuid_generate_v4()`, which requires `uuid-ossp`. The bundled
PostgreSQL subchart injects this extension automatically via `initdb.scripts`. For external
PostgreSQL, run manually before installing:

Expand All @@ -313,18 +316,21 @@ CREATE EXTENSION IF NOT EXISTS "uuid-ossp";

<Callout type="warning" title="Queue mode requires persistence.enabled=false and storage.type=s3">
In queue mode, multiple main and worker pods share the same blob storage. Local PVC (`ReadWriteOnce`) cannot be shared
across pods. Set `persistence.enabled: false` and configure `storage.type: s3` with a shared S3-compatible bucket.
across pods. Set `persistence.enabled: false` and configure `storage.type: s3` with a shared S3-compatible bucket. On
first boot, keep `flowise.replicaCount: 1` and let `queue.worker.startupDelaySeconds` delay workers so the main server
owns database migrations before workers connect. Scale main pods after the database is initialized.
</Callout>

| Parameter | Type | Default | Description |
| ---------------------------- | ------- | --------------- | --------------------------------------------- |
| `queue.name` | string | `flowise-queue` | BullMQ queue name shared by main and workers. |
| `queue.worker.replicaCount` | integer | `1` | Number of worker Deployment replicas. |
| `queue.worker.concurrency` | integer | `100000` | Simultaneous BullMQ jobs per worker. |
| `queue.worker.removeOnAge` | integer | `86400` | Completed job retention in seconds. |
| `queue.worker.removeOnCount` | integer | `10000` | Maximum completed job count retained. |
| `queue.worker.extraEnv` | array | `[]` | Extra environment variables for worker pods. |
| `queue.worker.resources` | object | `{}` | CPU/memory requests and limits for workers. |
| Parameter | Type | Default | Description |
| ---------------------------------- | ------- | --------------- | --------------------------------------------- |
| `queue.name` | string | `flowise-queue` | BullMQ queue name shared by main and workers. |
| `queue.worker.replicaCount` | integer | `1` | Number of worker Deployment replicas. |
| `queue.worker.startupDelaySeconds` | integer | `30` | Delay before starting worker pods. |
| `queue.worker.concurrency` | integer | `100000` | Simultaneous BullMQ jobs per worker. |
| `queue.worker.removeOnAge` | integer | `86400` | Completed job retention in seconds. |
| `queue.worker.removeOnCount` | integer | `10000` | Maximum completed job count retained. |
| `queue.worker.extraEnv` | array | `[]` | Extra environment variables for worker pods. |
| `queue.worker.resources` | object | `{}` | CPU/memory requests and limits for workers. |

### Storage

Expand Down
1 change: 1 addition & 0 deletions src/pages/playground.astro
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const siteSyncPlaygroundConfigs: Record<string, string> = {
drupal: 'src/data/playground-configs.ts',
'envoy-gateway': 'src/data/playground-configs.ts',
'fastmcp-server': 'src/data/playground-configs.ts',
flowise: 'src/data/playground-configs.ts',
medikeep: 'src/data/playground-configs.ts',
memcached: 'src/data/playground-configs.ts',
notediscovery: 'src/data/playground-configs.ts',
Expand Down