Skip to content

Commit 6df93c4

Browse files
authored
feat(flowise): add Flowise blueprint with Docker Compose and template configuration (#354)
- Added Flowise metadata to meta.json with relevant details including ID, name, version, description, logo, links, and tags. - Created Docker Compose file for Flowise, defining services for Redis and Flowise, including health checks and environment variables. - Added image for Flowise logo. - Created template.toml for Flowise configuration, specifying variables, domains, environment variables, and mounts.
1 parent 974d425 commit 6df93c4

File tree

4 files changed

+98
-0
lines changed

4 files changed

+98
-0
lines changed
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
version: "3.8"
2+
3+
services:
4+
redis:
5+
image: redis:alpine
6+
restart: always
7+
volumes:
8+
- redis_data:/data
9+
10+
flowise:
11+
image: flowiseai/flowise:latest
12+
restart: always
13+
expose:
14+
- 3000
15+
volumes:
16+
- flowise_data:/root/.flowise
17+
environment:
18+
PORT: 3000
19+
DATABASE_PATH: /root/.flowise
20+
REDIS_URL: redis://redis:6379
21+
JWT_AUTH_TOKEN_SECRET: ${JWT_AUTH_TOKEN_SECRET}
22+
JWT_REFRESH_TOKEN_SECRET: ${JWT_REFRESH_TOKEN_SECRET}
23+
EXPRESS_SESSION_SECRET: ${EXPRESS_SESSION_SECRET}
24+
healthcheck:
25+
test: ["CMD", "curl", "-f", "http://localhost:3000/api/v1/ping"]
26+
interval: 10s
27+
timeout: 5s
28+
retries: 5
29+
start_period: 30s
30+
entrypoint: /bin/sh -c "sleep 3; flowise start"
31+
depends_on:
32+
- redis
33+
34+
flowise-worker:
35+
image: flowiseai/flowise-worker:latest
36+
restart: always
37+
volumes:
38+
- flowise_data:/root/.flowise
39+
environment:
40+
WORKER_PORT: 5566
41+
DATABASE_PATH: /root/.flowise
42+
REDIS_URL: redis://redis:6379
43+
healthcheck:
44+
test: ["CMD", "curl", "-f", "http://localhost:5566/healthz"]
45+
interval: 10s
46+
timeout: 5s
47+
retries: 5
48+
start_period: 30s
49+
entrypoint: /bin/sh -c "node /app/healthcheck/healthcheck.js & sleep 5 && pnpm run start-worker"
50+
depends_on:
51+
- redis
52+
- flowise
53+
54+
volumes:
55+
redis_data:
56+
flowise_data:

blueprints/flowise/image.png

12.8 KB
Loading

blueprints/flowise/template.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[variables]
2+
main_domain = "${domain}"
3+
jwt_secret = "${password:32}"
4+
jwt_refresh_secret = "${password:32}"
5+
express_secret = "${password:32}"
6+
7+
[config]
8+
[[config.domains]]
9+
serviceName = "flowise"
10+
port = 3000
11+
host = "${main_domain}"
12+
13+
[config.env]
14+
JWT_AUTH_TOKEN_SECRET = "${jwt_secret}"
15+
JWT_REFRESH_TOKEN_SECRET = "${jwt_refresh_secret}"
16+
EXPRESS_SESSION_SECRET = "${express_secret}"
17+
18+
[[config.mounts]]
19+
name = "flowise_data"
20+
mountPath = "/root/.flowise"
21+
22+
[[config.mounts]]
23+
name = "redis_data"
24+
mountPath = "/data"

meta.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1986,6 +1986,24 @@
19861986
"ddos-guard"
19871987
]
19881988
},
1989+
{
1990+
"id": "flowise",
1991+
"name": "Flowise",
1992+
"version": "latest",
1993+
"description": "Flowise is an open-source UI visual tool to build and run LLM-powered applications.",
1994+
"logo": "image.png",
1995+
"links": {
1996+
"github": "https://github.com/FlowiseAI/Flowise",
1997+
"website": "https://flowiseai.com/",
1998+
"docs": "https://docs.flowiseai.com/"
1999+
},
2000+
"tags": [
2001+
"AI",
2002+
"LLM",
2003+
"workflow",
2004+
"automation"
2005+
]
2006+
},
19892007
{
19902008
"id": "focalboard",
19912009
"name": "Focalboard",

0 commit comments

Comments
 (0)