July 4, 20251 yr Flowise is an open-source generative AI development platform for building AI Agents and LLM workflows.Overview: Support for Docker image Flowise & Flowise-worker unraid templates made by ZippoXApplication: All Hands/OpenHands - https://flowiseai.com/Docker Hub: https://hub.docker.com/r/flowiseai/flowise / https://hub.docker.com/r/flowiseai/flowise-workerGitHub: https://github.com/FlowiseAI/FlowiseDocumentation: https://docs.flowiseai.com/Important Info: you will find empty fields that will not be required to be filled unless you are going to use Postgres and Redis, otherwise feel free to ignore the fields.If you are not going to use Postgres as your DB then ignore any variable that starts with Postgres |If you are not going to use my Flowise-worker template and Redis, then ignore any variable that starts with Redis |For more Environmental Variables: https://github.com/FlowiseAI/Flowise/blob/main/docker/.env.exampleWant to use Postgres instead of SQLite?By default, the template should work as is, running on SQLiteIf 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 defaultAdditional Setup Step: Enable UUID ExtensionAfter launching Flowise with Postgres for the first time (which creates the database), you might need to enable the uuid-ossp extension:Access your Postgres Docker consoleRun 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\";" Restart FlowiseThe 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 ContainerConfigure 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=falseOnce 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 July 5, 20251 yr by ZippoX Added Flowise-worker support and important info!
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.