Skip to content

Commit ee00568

Browse files
committed
Squashed commit of the following:
commit 6828691 Author: Henry <[email protected]> Date: Tue Jun 11 22:37:14 2024 +0100 🥳 [email protected] release commit 5e4d640 Author: Jared McQueen <[email protected]> Date: Tue Jun 11 17:05:04 2024 -0400 fix totalChars accumulator for undefined pageContent (FlowiseAI#2619) commit 6fb775f Author: jiabaow <[email protected]> Date: Tue Jun 11 13:56:34 2024 -0700 add Fireworks LLM (FlowiseAI#2597) * add Fireworks LLM * support multiple models * Update Fireworks.ts * fix linting --------- Co-authored-by: Henry Heng <[email protected]> commit 88ee9b0 Author: Mingxin Hou <[email protected]> Date: Tue Jun 11 13:56:22 2024 -0700 Fireworks ai chat model (FlowiseAI#2596) * fireworks chat model * add chatFireworks to streamAvaliableLLMs * add model parameter input * Update ChatFireworks.ts * fix linting --------- Co-authored-by: Henry Heng <[email protected]> commit 9f9aff3 Author: Torsten Raudssus <[email protected]> Date: Tue Jun 11 17:29:28 2024 +0200 Adding pnpm-store to gitignore (FlowiseAI#2600) commit 66e1296 Author: Torsten Raudssus <[email protected]> Date: Tue Jun 11 17:29:07 2024 +0200 Searxng Tool implementation (FlowiseAI#2599) * Searxng Tool implementation, first commit with most functionality * Fixed complains of pnpm lint * Picky linter commit f1e78d8 Author: Saurav Maheshkar <[email protected]> Date: Fri Jun 7 15:49:24 2024 +0100 gh: refactor community files (FlowiseAI#2572) * gh: refactor community files * fix: links to other files * docs: move to i18n commit be3a887 Author: Daniel D'Abate <[email protected]> Date: Fri Jun 7 16:35:57 2024 +0200 Improvement - Reduce size of final docker image with multistage build (FlowiseAI#2598) * Reduce size of final docker image with multistage build * Dockerfile - Move PUPPETEER_SKIP_DOWNLOAD flag to build stage commit c8939dc Author: 不知火 Shiranui <[email protected]> Date: Fri Jun 7 19:14:06 2024 +0800 Add data source adapter of MariaDB (FlowiseAI#2595) fix(datasource.ts): add mariadb commit 34251fa Author: Daniel D'Abate <[email protected]> Date: Fri Jun 7 13:04:25 2024 +0200 Bugfix - Add x-forwarded-proto as source for http protocol for base url and add base url field to ChatflowTool (FlowiseAI#2592) commit cb93d9d Author: Daniel D'Abate <[email protected]> Date: Thu Jun 6 15:17:35 2024 +0200 Bugfix - JS function "execute" from node crashing the frontend and response is hidden (FlowiseAI#2589) * Bugfix - Fix crash when executing JS function from node and fix hidden response * add toString() to code executed result * Change height of CodeEditor to make it bigger, but still make the result visible below. --------- Co-authored-by: Henry Heng <[email protected]> commit 5899e50 Author: toi500 <[email protected]> Date: Wed Jun 5 22:55:45 2024 +0200 Adding Agentflow Template (FlowiseAI#2586) adding agentflow template Co-authored-by: toi500 <[email protected]> commit e0a03ad Author: Aman Soni <[email protected]> Date: Thu Jun 6 02:25:27 2024 +0530 HTML Embed Chat popup configuration updated (FlowiseAI#2583) * HTML Embed Chat popup configuration updated * HTML Embed Chat popup configuration * Update EmbedChat.jsx update spacing to be consistent --------- Co-authored-by: Henry Heng <[email protected]> commit 582dcc8 Author: Henry Heng <[email protected]> Date: Tue Jun 4 18:45:45 2024 +0100 Feature/add status check ping (FlowiseAI#2579) add status check ping commit 5a73eaa Author: Erasmo Pinheiro <[email protected]> Date: Tue Jun 4 12:23:30 2024 -0300 fix: Change the CMD flowise command in Dockerfile to be the same as in the document (FlowiseAI#2563) * fix: Change the CMD flowise command to be the same as in the documentation. * Remove unnecessary npx command from dockerfile * Command was changed by the entrypoint in Docker Composer --------- Co-authored-by: Erasmo De Souza Pinheiro <[email protected]> commit 4ec8376 Author: Henry Heng <[email protected]> Date: Tue Jun 4 15:44:27 2024 +0100 Bugfix/get rid of double quotes when replacing variable value (FlowiseAI#2577) get rid of double quotes when replacing variable value commit 5ba9493 Author: Daniel D'Abate <[email protected]> Date: Tue Jun 4 11:11:57 2024 +0200 Feature - Env variable to disable ChatFlow reuse (FlowiseAI#2559) commit bdbb6f8 Author: Jared McQueen <[email protected]> Date: Mon Jun 3 21:57:30 2024 -0400 adding a document loader returns the correct id (FlowiseAI#2538) commit 55f52c4 Author: Saurav Maheshkar <[email protected]> Date: Tue Jun 4 02:57:07 2024 +0100 feat(ci): enable `pnpm` caching in CI (FlowiseAI#2530) commit 7eb9341 Author: Jared McQueen <[email protected]> Date: Mon Jun 3 21:50:43 2024 -0400 adding url to source for all web scrapers (FlowiseAI#2537) commit a799ac8 Author: Daniel D'Abate <[email protected]> Date: Tue Jun 4 03:31:36 2024 +0200 Improve OpenSearchURL credential storing user and password in separate fields from the URL (FlowiseAI#2549) OpenSearch - Improve OpenSearchURL credential storing user and password in separate fields from the URL commit 76abd20 Author: Henry <[email protected]> Date: Mon Jun 3 13:34:21 2024 +0100 🥳 [email protected] minor bugfix release commit 272fd91 Author: Henry Heng <[email protected]> Date: Mon Jun 3 13:09:59 2024 +0100 Bugfix/supabase upsert ids (FlowiseAI#2561) * fix upserting same id with supabase * remove dedicated addvectors logic for ids * Update pnpm-lock.yaml * add fix for null id column commit f2a0ffe Author: Henry Heng <[email protected]> Date: Sun Jun 2 02:41:48 2024 +0100 Bugfix/Check for proper thread id and avoid throwing error (FlowiseAI#2551) check for proper thread id and avoid throwing error commit 8c66d2c Author: Henry Heng <[email protected]> Date: Sun Jun 2 02:33:40 2024 +0100 Bugfix/Avoid passing runnable assign when worker agent has no input variables (FlowiseAI#2550) avoid passing runnable assign when worker agent has no input variables commit e15e6fa Author: Henry Heng <[email protected]> Date: Sat Jun 1 12:37:00 2024 +0100 Bugfix/Disable output prediction from llmchain streaming (FlowiseAI#2543) disable output prediction from llmchain streaming commit e5f0ca2 Author: Daniel D'Abate <[email protected]> Date: Sat Jun 1 13:36:39 2024 +0200 Fix OpenSearch vector store upsert (FlowiseAI#2545) commit 1d99270 Author: Henry <[email protected]> Date: Sat Jun 1 00:09:38 2024 +0100 🥳 [email protected] minor bugfix release commit c42ef95 Author: Henry <[email protected]> Date: Sat Jun 1 00:09:10 2024 +0100 🥳 [email protected] minor bugfix release commit f64931b Author: Henry <[email protected]> Date: Sat Jun 1 00:08:49 2024 +0100 🥳 [email protected] minor bugfix release commit 6a58ae4 Author: Henry Heng <[email protected]> Date: Fri May 31 23:41:21 2024 +0100 Bugfix/In-mem VS not able to load document (FlowiseAI#2542) fix where in-mem VS not able to load document commit 04e0ce1 Author: Henry Heng <[email protected]> Date: Fri May 31 13:20:34 2024 +0100 Chore/update flowise-embed version on lock file (FlowiseAI#2535) update flowise-embed version on lock file commit b5b929e Author: Henry Heng <[email protected]> Date: Thu May 30 22:27:17 2024 +0100 Feat/Exa Search Tool (FlowiseAI#2524) * add exa search tool * add exa svg commit 7706b34 Author: Fahreddin Özcan <[email protected]> Date: Thu May 30 23:20:02 2024 +0200 Update Upstash Logo for White Background (FlowiseAI#2511) * update: upstash logo for white background * update: upstash chat memory logo commit d505637 Author: YISH <[email protected]> Date: Thu May 30 19:58:20 2024 +0800 Fix JSON escaping (better) (FlowiseAI#2498) Fix JSON escaping commit eb738a1 Author: Rafael Reis <[email protected]> Date: Thu May 30 08:54:55 2024 -0300 Fix for Whisper Error: 'File is not defined' when using Speech to Text (FlowiseAI#2526) * tested ok * update localai stt file * update toFile method for OpenAI Assistant uploads --------- Co-authored-by: Henry Heng <[email protected]> Co-authored-by: Henry <[email protected]> commit 059eae4 Author: Henry Heng <[email protected]> Date: Thu May 30 11:59:19 2024 +0100 Bugfix/model list unreachable (FlowiseAI#2522) * fallback to fetch local models json file * enable user to specify local path to load models.json * Update pnpm-lock.yaml commit d734747 Author: Henry Heng <[email protected]> Date: Thu May 30 00:18:51 2024 +0100 Bugfix/Upserting same id with supabase (FlowiseAI#2521) fix upserting same id with supabase commit 912c8f3 Author: Daniel D'Abate <[email protected]> Date: Thu May 30 00:40:01 2024 +0200 Feature: Support role-based authentication for AWS (FlowiseAI#2470) * Storage, DynamoDBChatMemory - Make AWS credentials optional to support role-based authentication * Lint fix commit 48ac815 Author: Henry Heng <[email protected]> Date: Wed May 29 23:39:11 2024 +0100 Bugfix/Restore Requests Tool (FlowiseAI#2513) restore requests tool commit 2878af6 Author: patrickreinan <[email protected]> Date: Wed May 29 14:25:32 2024 -0300 Added LOG_JSON_SPACES to control json beautify (FlowiseAI#2483) * Added: environment var LOG_JSON_SPACES with default value 2. Used to no beautify JSON on handler.ts Fix: logger.verbose was not working because default log level was info * Update handler.ts --------- Co-authored-by: patrick <[email protected]> Co-authored-by: Henry Heng <[email protected]> commit 5d649b2 Author: Henry <[email protected]> Date: Wed May 29 18:22:41 2024 +0100 update server ts config to exclude test.ts commit f5b0886 Author: jiabaow <[email protected]> Date: Wed May 29 10:01:35 2024 -0700 test validateKey (FlowiseAI#2485) add validateKey.test.ts commit 97386bc Author: Henry Heng <[email protected]> Date: Tue May 28 22:36:12 2024 +0100 Bugfix/Files not removed when doc store loader is deleted (FlowiseAI#2502) fix files not removed when doc store loader is deleted commit 22f3969 Author: Henry Heng <[email protected]> Date: Fri May 24 18:57:49 2024 +0100 Bugfix/Use vm2 for chatflow tool (FlowiseAI#2482) use vm2 for chatflow tool commit 82899d9 Author: YISH <[email protected]> Date: Fri May 24 09:26:34 2024 +0800 Fix JSON escaping (FlowiseAI#2461) commit 50c53de Author: jiabaow <[email protected]> Date: Thu May 23 17:22:41 2024 -0700 Together AI llms (FlowiseAI#2454) * add TogetherAI.ts skeleton * add TogetherAI api links * fix constructing final obj * fix INodeData import * fix category * fix version & streaming * add stop * update constructor * update constructor with default values * add togetherAI logo * add credential * change logo * update streaming * disable streaming * remove model * clean up comment * delete unused icon * add togetherAI for streaming * Update index.ts --------- Co-authored-by: Henry Heng <[email protected]> commit e32b643 Author: Henry Heng <[email protected]> Date: Thu May 23 15:46:11 2024 +0100 Bugfix/Regex check for auth middleware (FlowiseAI#2469) add regex check for auth middleware commit 265de4e Author: patrickreinan <[email protected]> Date: Thu May 23 07:49:15 2024 -0300 Added Opensearch credential (FlowiseAI#2458) * Added Openserch credential * fix issues detected by linter * rename to camelcase openSearchUrl * Update OpenSearch.ts --------- Co-authored-by: patrick <[email protected]> Co-authored-by: Henry Heng <[email protected]> commit ff23817 Author: Vinod Kiran <[email protected]> Date: Wed May 22 18:05:08 2024 +0530 Chore/upgrade llamaindex version (FlowiseAI#2440) * updates to loader to support file upload * adding a todo * upgrade llamaindex * update groq icon * update azure models * update llamaindex version --------- Co-authored-by: Henry <[email protected]> commit e83dcb0 Author: Henry <[email protected]> Date: Tue May 21 16:50:53 2024 +0100 🥳 [email protected] release commit 9d10dc4 Author: Henry <[email protected]> Date: Tue May 21 16:50:29 2024 +0100 🥳 [email protected] release commit 68625c0 Author: Henry <[email protected]> Date: Tue May 21 16:49:59 2024 +0100 🥳 [email protected] release commit 8ebc4dc Author: Henry Heng <[email protected]> Date: Tue May 21 16:36:42 2024 +0100 Feature/lang graph (FlowiseAI#2319) * add langgraph * datasource: initial commit * datasource: datasource details and chunks * datasource: Document Store Node * more changes * Document Store - Base functionality * Document Store Loader Component * Document Store Loader Component * before merging the modularity PR * after merging the modularity PR * preview mode * initial draft PR * fixes * minor updates and fixes * preview with loader and splitter * preview with credential * show stored chunks * preview update... * edit config * save, preview and other changes * save, preview and other changes * save, process and other changes * save, process and other changes * alpha1 - for internal testing * rerouting urls * bug fix on new leader create * pagination support for chunks * delete document store * Update pnpm-lock.yaml * doc store card view * Update store files to use updated storage functions, Document Store Table View and other changes * ui changes * add expanded chunk dialog, improve ui * change throw Error to InternalError * Bug Fixes and removal of subFolder, adding of view chunks for store * lint fixes * merge changes * DocumentStoreStatus component * ui changes for doc store * add remove metadata key field, add custom document loader * add chatflows used doc store chips * add types/interfaces to DocumentStore Services * document loader list dialog title bar color change * update interfaces * Whereused Chatflow Name and Added chunkNo to retain order of created chunks. * use typeorm order chunkNo, ui changes * update tabler icons react * cleanup agents * add pysandbox tool * add abort functionality, loading next agent * add empty view svg * update chatflow tool with chatId * rename to agentflows * update worker for prompt input values * update dashboard to agentflows, agentcanvas * fix marketplace use template * add agentflow templates * resolve merge conflict * update baseURL --------- Co-authored-by: vinodkiran <[email protected]> Co-authored-by: Vinod Paidimarry <[email protected]> commit 95f1090 Author: Vinod Kiran <[email protected]> Date: Tue May 21 16:40:30 2024 +0530 BugFix FlowiseAI#2386: Double quotes are not escaped, flow crashes (FlowiseAI#2448) Fix for FlowiseAI#2386 commit 5733a80 Author: YISH <[email protected]> Date: Tue May 21 00:09:27 2024 +0800 Avoid .env packaging into docker images. (FlowiseAI#2451) commit 8caca47 Author: Henry Heng <[email protected]> Date: Mon May 20 17:08:34 2024 +0100 Feature/Add prepend messages to memory (FlowiseAI#2410) add prepend messages to memory commit 816436f Author: Henry Heng <[email protected]> Date: Fri May 17 11:41:29 2024 +0100 Chore/upgrade lc version (FlowiseAI#2422) * update langchain version, openai, mistral, vertex, anthropic, introduced toolagent * upgrade @google/generative-ai 0.7.0, replicate and faiss-node * update cohere ver * adding chatCohere to streaming * update gemini to have image upload * update google genai, remove aiplugin * upgrade langchain version * fix lint commit 0521e6b Author: Quinn <[email protected]> Date: Fri May 17 03:41:09 2024 -0700 Updated bedrock model list (FlowiseAI#2426) Added missing relevant chat and embed models. Added descriptions from aws docs. commit 0365afb Author: Henry Heng <[email protected]> Date: Fri May 17 11:40:17 2024 +0100 Feature/Add rpc filter to supabase (FlowiseAI#2425) add rpc filter to supabase
1 parent 50d35f1 commit ee00568

File tree

205 files changed

+11321
-956
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+11321
-956
lines changed

.dockerignore

+3
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ build
55
**/node_modules
66
**/build
77
**/dist
8+
9+
packages/server/.env
10+
packages/ui/.env

.github/workflows/main.yml

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
with:
2828
node-version: ${{ matrix.node-version }}
2929
check-latest: false
30+
cache: 'pnpm'
3031
- run: npm i -g pnpm
3132
- run: pnpm install
3233
- run: ./node_modules/.bin/cypress install

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
**/logs
1212
**/*.log
1313

14+
## pnpm
15+
.pnpm-store/
16+
1417
## build
1518
**/dist
1619
**/build

CODE_OF_CONDUCT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributor Covenant Code of Conduct
22

3-
English | [中文](<./CODE_OF_CONDUCT-ZH.md>)
3+
English | [中文](./i18n/CODE_OF_CONDUCT-ZH.md)
44

55
## Our Pledge
66

CONTRIBUTING.md

+36-34
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Contributing to Flowise
44

5-
English | [中文](./CONTRIBUTING-ZH.md)
5+
English | [中文](./i18n/CONTRIBUTING-ZH.md)
66

77
We appreciate any form of contributions.
88

@@ -120,39 +120,41 @@ Flowise has 3 different modules in a single mono repository.
120120

121121
Flowise support different environment variables to configure your instance. You can specify the following variables in the `.env` file inside `packages/server` folder. Read [more](https://docs.flowiseai.com/environment-variables)
122122

123-
| Variable | Description | Type | Default |
124-
| ---------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------ | ----------------------------------- |
125-
| PORT | The HTTP port Flowise runs on | Number | 3000 |
126-
| CORS_ORIGINS | The allowed origins for all cross-origin HTTP calls | String | |
127-
| IFRAME_ORIGINS | The allowed origins for iframe src embedding | String | |
128-
| FLOWISE_USERNAME | Username to login | String | |
129-
| FLOWISE_PASSWORD | Password to login | String | |
130-
| FLOWISE_FILE_SIZE_LIMIT | Upload File Size Limit | String | 50mb |
131-
| DEBUG | Print logs from components | Boolean | |
132-
| LOG_PATH | Location where log files are stored | String | `your-path/Flowise/logs` |
133-
| LOG_LEVEL | Different levels of logs | Enum String: `error`, `info`, `verbose`, `debug` | `info` |
134-
| APIKEY_PATH | Location where api keys are saved | String | `your-path/Flowise/packages/server` |
135-
| TOOL_FUNCTION_BUILTIN_DEP | NodeJS built-in modules to be used for Tool Function | String | |
136-
| TOOL_FUNCTION_EXTERNAL_DEP | External modules to be used for Tool Function | String | |
137-
| DATABASE_TYPE | Type of database to store the flowise data | Enum String: `sqlite`, `mysql`, `postgres` | `sqlite` |
138-
| DATABASE_PATH | Location where database is saved (When DATABASE_TYPE is sqlite) | String | `your-home-dir/.flowise` |
139-
| DATABASE_HOST | Host URL or IP address (When DATABASE_TYPE is not sqlite) | String | |
140-
| DATABASE_PORT | Database port (When DATABASE_TYPE is not sqlite) | String | |
141-
| DATABASE_USER | Database username (When DATABASE_TYPE is not sqlite) | String | |
142-
| DATABASE_PASSWORD | Database password (When DATABASE_TYPE is not sqlite) | String | |
143-
| DATABASE_NAME | Database name (When DATABASE_TYPE is not sqlite) | String | |
144-
| DATABASE_SSL_KEY_BASE64 | Database SSL client cert in base64 (takes priority over DATABASE_SSL) | Boolean | false |
145-
| DATABASE_SSL | Database connection overssl (When DATABASE_TYPE is postgre) | Boolean | false |
146-
| SECRETKEY_PATH | Location where encryption key (used to encrypt/decrypt credentials) is saved | String | `your-path/Flowise/packages/server` |
147-
| FLOWISE_SECRETKEY_OVERWRITE | Encryption key to be used instead of the key stored in SECRETKEY_PATH | String |
148-
| DISABLE_FLOWISE_TELEMETRY | Turn off telemetry | Boolean |
149-
| MODEL_LIST_CONFIG_JSON | File path to load list of models from your local config file | String | `/your_model_list_config_file_path` |
150-
| STORAGE_TYPE | Type of storage for uploaded files. default is `local` | Enum String: `s3`, `local` | `local` |
151-
| BLOB_STORAGE_PATH | Local folder path where uploaded files are stored when `STORAGE_TYPE` is `local` | String | `your-home-dir/.flowise/storage` |
152-
| S3_STORAGE_BUCKET_NAME | Bucket name to hold the uploaded files when `STORAGE_TYPE` is `s3` | String | |
153-
| S3_STORAGE_ACCESS_KEY_ID | AWS Access Key | String | |
154-
| S3_STORAGE_SECRET_ACCESS_KEY | AWS Secret Key | String | |
155-
| S3_STORAGE_REGION | Region for S3 bucket | String | |
123+
| Variable | Description | Type | Default |
124+
| ---------------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------ | ----------------------------------- |
125+
| PORT | The HTTP port Flowise runs on | Number | 3000 |
126+
| CORS_ORIGINS | The allowed origins for all cross-origin HTTP calls | String | |
127+
| IFRAME_ORIGINS | The allowed origins for iframe src embedding | String | |
128+
| FLOWISE_USERNAME | Username to login | String | |
129+
| FLOWISE_PASSWORD | Password to login | String | |
130+
| FLOWISE_FILE_SIZE_LIMIT | Upload File Size Limit | String | 50mb |
131+
| DISABLE_CHATFLOW_REUSE | Forces the creation of a new ChatFlow for each call instead of reusing existing ones from cache | Boolean | |
132+
| DEBUG | Print logs from components | Boolean | |
133+
| LOG_PATH | Location where log files are stored | String | `your-path/Flowise/logs` |
134+
| LOG_LEVEL | Different levels of logs | Enum String: `error`, `info`, `verbose`, `debug` | `info` |
135+
| LOG_JSON_SPACES | Spaces to beautify JSON logs | | 2 |
136+
| APIKEY_PATH | Location where api keys are saved | String | `your-path/Flowise/packages/server` |
137+
| TOOL_FUNCTION_BUILTIN_DEP | NodeJS built-in modules to be used for Tool Function | String | |
138+
| TOOL_FUNCTION_EXTERNAL_DEP | External modules to be used for Tool Function | String | |
139+
| DATABASE_TYPE | Type of database to store the flowise data | Enum String: `sqlite`, `mysql`, `postgres` | `sqlite` |
140+
| DATABASE_PATH | Location where database is saved (When DATABASE_TYPE is sqlite) | String | `your-home-dir/.flowise` |
141+
| DATABASE_HOST | Host URL or IP address (When DATABASE_TYPE is not sqlite) | String | |
142+
| DATABASE_PORT | Database port (When DATABASE_TYPE is not sqlite) | String | |
143+
| DATABASE_USER | Database username (When DATABASE_TYPE is not sqlite) | String | |
144+
| DATABASE_PASSWORD | Database password (When DATABASE_TYPE is not sqlite) | String | |
145+
| DATABASE_NAME | Database name (When DATABASE_TYPE is not sqlite) | String | |
146+
| DATABASE_SSL_KEY_BASE64 | Database SSL client cert in base64 (takes priority over DATABASE_SSL) | Boolean | false |
147+
| DATABASE_SSL | Database connection overssl (When DATABASE_TYPE is postgre) | Boolean | false |
148+
| SECRETKEY_PATH | Location where encryption key (used to encrypt/decrypt credentials) is saved | String | `your-path/Flowise/packages/server` |
149+
| FLOWISE_SECRETKEY_OVERWRITE | Encryption key to be used instead of the key stored in SECRETKEY_PATH | String |
150+
| DISABLE_FLOWISE_TELEMETRY | Turn off telemetry | Boolean |
151+
| MODEL_LIST_CONFIG_JSON | File path to load list of models from your local config file | String | `/your_model_list_config_file_path` |
152+
| STORAGE_TYPE | Type of storage for uploaded files. default is `local` | Enum String: `s3`, `local` | `local` |
153+
| BLOB_STORAGE_PATH | Local folder path where uploaded files are stored when `STORAGE_TYPE` is `local` | String | `your-home-dir/.flowise/storage` |
154+
| S3_STORAGE_BUCKET_NAME | Bucket name to hold the uploaded files when `STORAGE_TYPE` is `s3` | String | |
155+
| S3_STORAGE_ACCESS_KEY_ID | AWS Access Key | String | |
156+
| S3_STORAGE_SECRET_ACCESS_KEY | AWS Secret Key | String | |
157+
| S3_STORAGE_REGION | Region for S3 bucket | String | |
156158

157159
You can also specify the env variables when using `npx`. For example:
158160

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[![GitHub star chart](https://img.shields.io/github/stars/FlowiseAI/Flowise?style=social)](https://star-history.com/#FlowiseAI/Flowise)
1111
[![GitHub fork](https://img.shields.io/github/forks/FlowiseAI/Flowise?style=social)](https://github.com/FlowiseAI/Flowise/fork)
1212

13-
English | [中文](./README-ZH.md) | [日本語](./README-JA.md) | [한국어](./README-KR.md)
13+
English | [中文](./i18n/README-ZH.md) | [日本語](./i18n/README-JA.md) | [한국어](./i18n/README-KR.md)
1414

1515
<h3>Drag & drop UI to build your customized LLM flow</h3>
1616
<a href="https://github.com/FlowiseAI/Flowise">

docker/.env.example

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ BLOB_STORAGE_PATH=/root/.flowise/storage
2323
# FLOWISE_SECRETKEY_OVERWRITE=myencryptionkey
2424
# FLOWISE_FILE_SIZE_LIMIT=50mb
2525

26+
# DISABLE_CHATFLOW_REUSE=true
27+
2628
# DEBUG=true
2729
# LOG_LEVEL=debug (error | warn | info | verbose | debug)
2830
# TOOL_FUNCTION_BUILTIN_DEP=crypto,fs

docker/Dockerfile

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
1-
FROM node:20-alpine
1+
# Stage 1: Build stage
2+
FROM node:20-alpine as build
23

34
USER root
45

5-
RUN apk add --no-cache git
6-
RUN apk add --no-cache python3 py3-pip make g++
7-
# needed for pdfjs-dist
8-
RUN apk add --no-cache build-base cairo-dev pango-dev
9-
10-
# Install Chromium
11-
RUN apk add --no-cache chromium
12-
6+
# Skip downloading Chrome for Puppeteer (saves build time)
137
ENV PUPPETEER_SKIP_DOWNLOAD=true
14-
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
158

16-
# You can install a specific version like: [email protected]
9+
# Install latest Flowise globally (specific version can be set: [email protected])
1710
RUN npm install -g flowise
1811

19-
WORKDIR /data
12+
# Stage 2: Runtime stage
13+
FROM node:20-alpine
14+
15+
# Install runtime dependencies
16+
RUN apk add --no-cache chromium git python3 py3-pip make g++ build-base cairo-dev pango-dev
17+
18+
# Set the environment variable for Puppeteer to find Chromium
19+
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
20+
21+
# Copy Flowise from the build stage
22+
COPY --from=build /usr/local/lib/node_modules /usr/local/lib/node_modules
23+
COPY --from=build /usr/local/bin /usr/local/bin
2024

21-
CMD "flowise"
25+
ENTRYPOINT ["flowise", "start"]

docker/docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ services:
3333
- '${PORT}:${PORT}'
3434
volumes:
3535
- ~/.flowise:/root/.flowise
36-
command: /bin/sh -c "sleep 3; flowise start"
36+
entrypoint: /bin/sh -c "sleep 3; flowise start"

CODE_OF_CONDUCT-ZH.md renamed to i18n/CODE_OF_CONDUCT-ZH.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# 贡献者公约行为准则
44

5-
[English](<./CODE_OF_CONDUCT.md>) | 中文
5+
[English](../CODE_OF_CONDUCT.md) | 中文
66

77
## 我们的承诺
88

@@ -44,6 +44,6 @@
4444

4545
## 归属
4646

47-
该行为准则的内容来自于[贡献者公约](http://contributor-covenant.org/)1.4版,可在[http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4)上获取。
47+
该行为准则的内容来自于[贡献者公约](http://contributor-covenant.org/)1.4 版,可在[http://contributor-covenant.org/version/1/4](http://contributor-covenant.org/version/1/4)上获取。
4848

4949
[主页]: http://contributor-covenant.org

0 commit comments

Comments
 (0)