mirror of
https://github.com/Dokploy/templates.git
synced 2026-03-11 17:48:11 -05:00
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.
This commit is contained in:
56
blueprints/flowise/docker-compose.yml
Normal file
56
blueprints/flowise/docker-compose.yml
Normal file
@@ -0,0 +1,56 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
|
||||
flowise:
|
||||
image: flowiseai/flowise:latest
|
||||
restart: always
|
||||
expose:
|
||||
- 3000
|
||||
volumes:
|
||||
- flowise_data:/root/.flowise
|
||||
environment:
|
||||
PORT: 3000
|
||||
DATABASE_PATH: /root/.flowise
|
||||
REDIS_URL: redis://redis:6379
|
||||
JWT_AUTH_TOKEN_SECRET: ${JWT_AUTH_TOKEN_SECRET}
|
||||
JWT_REFRESH_TOKEN_SECRET: ${JWT_REFRESH_TOKEN_SECRET}
|
||||
EXPRESS_SESSION_SECRET: ${EXPRESS_SESSION_SECRET}
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:3000/api/v1/ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
entrypoint: /bin/sh -c "sleep 3; flowise start"
|
||||
depends_on:
|
||||
- redis
|
||||
|
||||
flowise-worker:
|
||||
image: flowiseai/flowise-worker:latest
|
||||
restart: always
|
||||
volumes:
|
||||
- flowise_data:/root/.flowise
|
||||
environment:
|
||||
WORKER_PORT: 5566
|
||||
DATABASE_PATH: /root/.flowise
|
||||
REDIS_URL: redis://redis:6379
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:5566/healthz"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
start_period: 30s
|
||||
entrypoint: /bin/sh -c "node /app/healthcheck/healthcheck.js & sleep 5 && pnpm run start-worker"
|
||||
depends_on:
|
||||
- redis
|
||||
- flowise
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
flowise_data:
|
||||
BIN
blueprints/flowise/image.png
Normal file
BIN
blueprints/flowise/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 13 KiB |
24
blueprints/flowise/template.toml
Normal file
24
blueprints/flowise/template.toml
Normal file
@@ -0,0 +1,24 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
jwt_secret = "${password:32}"
|
||||
jwt_refresh_secret = "${password:32}"
|
||||
express_secret = "${password:32}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "flowise"
|
||||
port = 3000
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
JWT_AUTH_TOKEN_SECRET = "${jwt_secret}"
|
||||
JWT_REFRESH_TOKEN_SECRET = "${jwt_refresh_secret}"
|
||||
EXPRESS_SESSION_SECRET = "${express_secret}"
|
||||
|
||||
[[config.mounts]]
|
||||
name = "flowise_data"
|
||||
mountPath = "/root/.flowise"
|
||||
|
||||
[[config.mounts]]
|
||||
name = "redis_data"
|
||||
mountPath = "/data"
|
||||
18
meta.json
18
meta.json
@@ -1986,6 +1986,24 @@
|
||||
"ddos-guard"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "flowise",
|
||||
"name": "Flowise",
|
||||
"version": "latest",
|
||||
"description": "Flowise is an open-source UI visual tool to build and run LLM-powered applications.",
|
||||
"logo": "image.png",
|
||||
"links": {
|
||||
"github": "https://github.com/FlowiseAI/Flowise",
|
||||
"website": "https://flowiseai.com/",
|
||||
"docs": "https://docs.flowiseai.com/"
|
||||
},
|
||||
"tags": [
|
||||
"AI",
|
||||
"LLM",
|
||||
"workflow",
|
||||
"automation"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "focalboard",
|
||||
"name": "Focalboard",
|
||||
|
||||
Reference in New Issue
Block a user