Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] [ZippoX] - FlowiseAI & Flowise-worker Templates

Featured Replies

flowise.png

Flowise is an open-source generative AI development platform for building AI Agents and LLM workflows.

Want to use Postgres instead of SQLite?

By default, the template should work as is, running on SQLite

If you are planning to use Postgres (I am using Postgres version 12.5-alphine by Flight777):

Change the database_type to postgres and configure the following variables.

DATABASE_TYPE=postgres
DATABASE_HOST= your Postgres IP / container name if you are planning to use the same Docker network for both containers
DATABASE_PORT=5432 by default
DATABASE_USER= your Postgres username
DATABASE_PASSWORD= your Postgres password
DATABASE_NAME= your wiseflow db name ( the container should create one with that name if it does not exist)
DATABASE_SSL=false by default


Additional Setup Step: Enable UUID Extension

After launching Flowise with Postgres for the first time (which creates the database), you might need to enable the uuid-ossp extension:

  1. Access your Postgres Docker console

  2. Run the following command, replacing your_postgres_username and your_flowise_db_name With your actual values:

    psql -U your_postgres_username -d your_flowise_db_name -c "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";"

  1. Restart Flowise

The database must exist before running this command, so make sure you've launched Flowise with Postgres environment variables configured at least once before performing this step.

Want to use Flowise-Worker with your FlowiseAI container?

By default, Flowise runs in a NodeJS main thread. However, with a large number of predictions, this does not scale well. Therefore, there are 2 modes you can configure: main (default) and queue.
Default mode: main (this mode will not require redis or worker and will do all predictions in the main FlowiseAI Container as a standalone)

To use the second mode quque You must deploy a second container called Flowise-worker ( I have one deployed in CA, soon to be added)


to use a flowise-worker ( you can run multiple) You need:

  • Redis Container (I am running the Bitnami Redis version by A75G)

  • Change the mode to queue in main FlowiseAI Container

  • Configure the following env variable for both the main FlowiseAI template and the Flowise-worker template.

    • They must match for it to work.

MODE=queue
QUEUE_NAME=flowise-queue
REDIS_HOST=REDIS HOST
REDIS_PORT=REDIS PORT (default port is 6379)
REDIS_PASSWORD=YOUR REDIS PASSWORD
REDIS_TLS=false


Once all that is done, go ahead and deploy your flowise-worker container, and it should work with your main flowise container, given you have set up Redis and the main container correctly.


For any issues with this template, please let me know below and I'll do my best to help you out!

Edited by ZippoX
Added Flowise-worker support and important info!

  • Author

Reserved

  • Author

Reserved

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.