feat: add flowise

This commit is contained in:
Sun-ZhenXing
2026-01-20 13:10:28 +08:00
parent 10aa0a4e85
commit 1c528c0e64
12 changed files with 162 additions and 31 deletions

View File

@@ -45,6 +45,7 @@ These services require building custom Docker images from source.
| [Elasticsearch](./src/elasticsearch) | 8.16.1 | | [Elasticsearch](./src/elasticsearch) | 8.16.1 |
| [etcd](./src/etcd) | 3.6.0 | | [etcd](./src/etcd) | 3.6.0 |
| [Firecrawl](./src/firecrawl) | latest | | [Firecrawl](./src/firecrawl) | latest |
| [Flowise](./src/flowise) | 3.0.12 |
| [frpc](./src/frpc) | 0.65.0 | | [frpc](./src/frpc) | 0.65.0 |
| [frps](./src/frps) | 0.65.0 | | [frps](./src/frps) | 0.65.0 |
| [Gitea Runner](./src/gitea-runner) | 0.2.13 | | [Gitea Runner](./src/gitea-runner) | 0.2.13 |
@@ -117,7 +118,7 @@ These services require building custom Docker images from source.
| [Redpanda](./src/redpanda) | v24.3.1 | | [Redpanda](./src/redpanda) | v24.3.1 |
| [Redis Cluster](./src/redis-cluster) | 8.2.1 | | [Redis Cluster](./src/redis-cluster) | 8.2.1 |
| [Redis](./src/redis) | 8.2.1 | | [Redis](./src/redis) | 8.2.1 |
| [Renovate](./src/renovate) | 42.52.5-full | | [Renovate](./src/renovate) | 42.85.4-full |
| [Restate Cluster](./src/restate-cluster) | 1.5.3 | | [Restate Cluster](./src/restate-cluster) | 1.5.3 |
| [Restate](./src/restate) | 1.5.3 | | [Restate](./src/restate) | 1.5.3 |
| [SearXNG](./src/searxng) | 2025.1.20-1ce14ef99 | | [SearXNG](./src/searxng) | 2025.1.20-1ce14ef99 |

View File

@@ -45,6 +45,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
| [Elasticsearch](./src/elasticsearch) | 8.16.1 | | [Elasticsearch](./src/elasticsearch) | 8.16.1 |
| [etcd](./src/etcd) | 3.6.0 | | [etcd](./src/etcd) | 3.6.0 |
| [Firecrawl](./src/firecrawl) | latest | | [Firecrawl](./src/firecrawl) | latest |
| [Flowise](./src/flowise) | 3.0.12 |
| [frpc](./src/frpc) | 0.65.0 | | [frpc](./src/frpc) | 0.65.0 |
| [frps](./src/frps) | 0.65.0 | | [frps](./src/frps) | 0.65.0 |
| [Gitea Runner](./src/gitea-runner) | 0.2.13 | | [Gitea Runner](./src/gitea-runner) | 0.2.13 |
@@ -117,7 +118,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
| [Redpanda](./src/redpanda) | v24.3.1 | | [Redpanda](./src/redpanda) | v24.3.1 |
| [Redis Cluster](./src/redis-cluster) | 8.2.1 | | [Redis Cluster](./src/redis-cluster) | 8.2.1 |
| [Redis](./src/redis) | 8.2.1 | | [Redis](./src/redis) | 8.2.1 |
| [Renovate](./src/renovate) | 42.52.5-full | | [Renovate](./src/renovate) | 42.85.4-full |
| [Restate Cluster](./src/restate-cluster) | 1.5.3 | | [Restate Cluster](./src/restate-cluster) | 1.5.3 |
| [Restate](./src/restate) | 1.5.3 | | [Restate](./src/restate) | 1.5.3 |
| [SearXNG](./src/searxng) | 2025.1.20-1ce14ef99 | | [SearXNG](./src/searxng) | 2025.1.20-1ce14ef99 |

View File

@@ -101,19 +101,19 @@ docker compose run --rm microsandbox --help
### Environment Variables ### Environment Variables
| Variable | Description | Default | | Variable | Description | Default |
| --------------------------------- | -------------------------------------- | --------- | | --------------------------------- | ------------------------------------- | ----------- |
| `MICROSANDBOX_VERSION` | MicroSandbox version | `latest` | | `MICROSANDBOX_VERSION` | MicroSandbox version | `latest` |
| `DEBIAN_VERSION` | Debian base image version | `13.2-slim` | | `DEBIAN_VERSION` | Debian base image version | `13.2-slim` |
| `MICROSANDBOX_AUTO_PULL_IMAGES` | Auto pull base images on build | `true` | | `MICROSANDBOX_AUTO_PULL_IMAGES` | Auto pull base images on build | `true` |
| `MICROSANDBOX_DEV_MODE` | Enable dev mode (no API key required) | `true` | | `MICROSANDBOX_DEV_MODE` | Enable dev mode (no API key required) | `true` |
| `MICROSANDBOX_PORT` | Internal container port | `5555` | | `MICROSANDBOX_PORT` | Internal container port | `5555` |
| `MICROSANDBOX_PORT_OVERRIDE` | External host port mapping | `5555` | | `MICROSANDBOX_PORT_OVERRIDE` | External host port mapping | `5555` |
| `TZ` | Container timezone | `UTC` | | `TZ` | Container timezone | `UTC` |
| `MICROSANDBOX_CPU_LIMIT` | Maximum CPU cores | `4` | | `MICROSANDBOX_CPU_LIMIT` | Maximum CPU cores | `4` |
| `MICROSANDBOX_CPU_RESERVATION` | Reserved CPU cores | `1` | | `MICROSANDBOX_CPU_RESERVATION` | Reserved CPU cores | `1` |
| `MICROSANDBOX_MEMORY_LIMIT` | Maximum memory allocation | `4G` | | `MICROSANDBOX_MEMORY_LIMIT` | Maximum memory allocation | `4G` |
| `MICROSANDBOX_MEMORY_RESERVATION` | Reserved memory | `1G` | | `MICROSANDBOX_MEMORY_RESERVATION` | Reserved memory | `1G` |
### Volume Mounts ### Volume Mounts

View File

@@ -101,19 +101,19 @@ docker compose run --rm microsandbox --help
### 环境变量 ### 环境变量
| 变量 | 描述 | 默认值 | | 变量 | 描述 | 默认值 |
| --------------------------------- | ------------------------ | ----------- | | --------------------------------- | ----------------------------- | ----------- |
| `MICROSANDBOX_VERSION` | MicroSandbox 版本 | `latest` | | `MICROSANDBOX_VERSION` | MicroSandbox 版本 | `latest` |
| `DEBIAN_VERSION` | Debian 基础镜像版本 | `13.2-slim` | | `DEBIAN_VERSION` | Debian 基础镜像版本 | `13.2-slim` |
| `MICROSANDBOX_AUTO_PULL_IMAGES` | 构建时自动拉取基础镜像 | `true` | | `MICROSANDBOX_AUTO_PULL_IMAGES` | 构建时自动拉取基础镜像 | `true` |
| `MICROSANDBOX_DEV_MODE` | 启用开发模式(无需 API 密钥) | `true` | | `MICROSANDBOX_DEV_MODE` | 启用开发模式(无需 API 密钥) | `true` |
| `MICROSANDBOX_PORT` | 容器内部端口 | `5555` | | `MICROSANDBOX_PORT` | 容器内部端口 | `5555` |
| `MICROSANDBOX_PORT_OVERRIDE` | 外部主机端口映射 | `5555` | | `MICROSANDBOX_PORT_OVERRIDE` | 外部主机端口映射 | `5555` |
| `TZ` | 容器时区 | `UTC` | | `TZ` | 容器时区 | `UTC` |
| `MICROSANDBOX_CPU_LIMIT` | CPU 核心数上限 | `4` | | `MICROSANDBOX_CPU_LIMIT` | CPU 核心数上限 | `4` |
| `MICROSANDBOX_CPU_RESERVATION` | CPU 核心数预留 | `1` | | `MICROSANDBOX_CPU_RESERVATION` | CPU 核心数预留 | `1` |
| `MICROSANDBOX_MEMORY_LIMIT` | 最大内存分配 | `4G` | | `MICROSANDBOX_MEMORY_LIMIT` | 最大内存分配 | `4G` |
| `MICROSANDBOX_MEMORY_RESERVATION` | 内存预留 | `1G` | | `MICROSANDBOX_MEMORY_RESERVATION` | 内存预留 | `1G` |
### 卷挂载 ### 卷挂载

21
src/flowise/.env.example Normal file
View File

@@ -0,0 +1,21 @@
# Global Registry Prefix (optional)
# GLOBAL_REGISTRY=
# Flowise Image Version
FLOWISE_VERSION=3.0.12
# Timezone
TZ=UTC
# Port to bind to on the host machine
FLOWISE_PORT_OVERRIDE=3000
# Resource Limits
FLOWISE_CPU_LIMIT=1
FLOWISE_MEMORY_LIMIT=1024M
FLOWISE_CPU_RESERVATION=0.5
FLOWISE_MEMORY_RESERVATION=512M
# Optional basic auth (leave empty to disable)
# FLOWISE_USERNAME=
# FLOWISE_PASSWORD=

32
src/flowise/README.md Normal file
View File

@@ -0,0 +1,32 @@
# Flowise
[English](./README.md) | [中文](./README.zh.md)
Quick start: <https://docs.flowiseai.com>.
This service deploys Flowise, a visual LLM orchestration platform.
## Services
- `flowise`: The Flowise service.
## Configuration
- `GLOBAL_REGISTRY`: The registry prefix for the Flowise image, default is empty.
- `FLOWISE_VERSION`: The version of the Flowise image, default is `3.0.12`.
- `TZ`: The timezone for the container, default is `UTC`.
- `FLOWISE_PORT_OVERRIDE`: The host port for Flowise, default is `3000`.
- `FLOWISE_CPU_LIMIT`: The CPU limit for the Flowise service, default is `1`.
- `FLOWISE_MEMORY_LIMIT`: The memory limit for the Flowise service, default is `1024M`.
- `FLOWISE_CPU_RESERVATION`: The CPU reservation for the Flowise service, default is `0.5`.
- `FLOWISE_MEMORY_RESERVATION`: The memory reservation for the Flowise service, default is `512M`.
- `FLOWISE_USERNAME`: Optional basic auth username. Leave empty to disable.
- `FLOWISE_PASSWORD`: Optional basic auth password. Leave empty to disable.
## Volumes
- `flowise_data`: A volume for storing Flowise data.
## Notes
- The health check uses the `/api/v1/ping` endpoint.

32
src/flowise/README.zh.md Normal file
View File

@@ -0,0 +1,32 @@
# Flowise
[English](./README.md) | [中文](./README.zh.md)
快速开始:<https://docs.flowiseai.com>
此服务用于部署 Flowise一个可视化的 LLM 编排平台。
## 服务
- `flowise`Flowise 服务。
## 配置
- `GLOBAL_REGISTRY`Flowise 镜像的仓库前缀,默认为空。
- `FLOWISE_VERSION`Flowise 镜像版本,默认是 `3.0.12`
- `TZ`:容器时区,默认是 `UTC`
- `FLOWISE_PORT_OVERRIDE`Flowise 的宿主机端口,默认是 `3000`
- `FLOWISE_CPU_LIMIT`Flowise 服务的 CPU 限制,默认是 `1`
- `FLOWISE_MEMORY_LIMIT`Flowise 服务的内存限制,默认是 `1024M`
- `FLOWISE_CPU_RESERVATION`Flowise 服务的 CPU 预留,默认是 `0.5`
- `FLOWISE_MEMORY_RESERVATION`Flowise 服务的内存预留,默认是 `512M`
- `FLOWISE_USERNAME`:可选的基础认证用户名,不设置则禁用。
- `FLOWISE_PASSWORD`:可选的基础认证密码,不设置则禁用。
## 数据卷
- `flowise_data`:用于存储 Flowise 数据的卷。
## 说明
- 健康检查使用 `/api/v1/ping` 端点。

View File

@@ -0,0 +1,44 @@
x-defaults: &defaults
restart: unless-stopped
logging:
driver: json-file
options:
max-size: 100m
max-file: "3"
services:
flowise:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}flowiseai/flowise:${FLOWISE_VERSION:-3.0.12}
ports:
- "${FLOWISE_PORT_OVERRIDE:-3000}:3000"
volumes:
- flowise_data:/root/.flowise
environment:
- TZ=${TZ:-UTC}
- PORT=3000
- FLOWISE_USERNAME=${FLOWISE_USERNAME:-}
- FLOWISE_PASSWORD=${FLOWISE_PASSWORD:-}
healthcheck:
test:
[
"CMD",
"node",
"-e",
"require('http').get('http://localhost:3000/api/v1/ping',res=>process.exit(res.statusCode===200?0:1)).on('error',()=>process.exit(1))"
]
interval: 30s
timeout: 10s
retries: 5
start_period: 20s
deploy:
resources:
limits:
cpus: ${FLOWISE_CPU_LIMIT:-1}
memory: ${FLOWISE_MEMORY_LIMIT:-1024M}
reservations:
cpus: ${FLOWISE_CPU_RESERVATION:-0.5}
memory: ${FLOWISE_MEMORY_RESERVATION:-512M}
volumes:
flowise_data:

View File

@@ -1,7 +1,7 @@
# Renovate Configuration # Renovate Configuration
# Image version # Image version
RENOVATE_VERSION=42.52.5-full RENOVATE_VERSION=42.85.4-full
# Global registry prefix (optional, e.g., your.registry.com/) # Global registry prefix (optional, e.g., your.registry.com/)
GLOBAL_REGISTRY= GLOBAL_REGISTRY=

View File

@@ -53,7 +53,7 @@ Key environment variables in `.env`:
| Variable | Description | Default | | Variable | Description | Default |
| ----------------------- | ----------------------- | -------------- | | ----------------------- | ----------------------- | -------------- |
| `RENOVATE_VERSION` | Renovate image version | `42.52.5-full` | | `RENOVATE_VERSION` | Renovate image version | `42.85.4-full` |
| `RENOVATE_PLATFORM` | Platform type | `github` | | `RENOVATE_PLATFORM` | Platform type | `github` |
| `RENOVATE_TOKEN` | Authentication token | **(required)** | | `RENOVATE_TOKEN` | Authentication token | **(required)** |
| `RENOVATE_REPOSITORIES` | Repositories to process | `''` | | `RENOVATE_REPOSITORIES` | Repositories to process | `''` |

View File

@@ -53,7 +53,7 @@ Renovate 是一个自动化依赖更新工具,当有新版本可用时,它
| 变量 | 描述 | 默认值 | | 变量 | 描述 | 默认值 |
| ----------------------- | ----------------- | -------------- | | ----------------------- | ----------------- | -------------- |
| `RENOVATE_VERSION` | Renovate 镜像版本 | `42.52.5-full` | | `RENOVATE_VERSION` | Renovate 镜像版本 | `42.85.4-full` |
| `RENOVATE_PLATFORM` | 平台类型 | `github` | | `RENOVATE_PLATFORM` | 平台类型 | `github` |
| `RENOVATE_TOKEN` | 身份验证令牌 | **(必需)** | | `RENOVATE_TOKEN` | 身份验证令牌 | **(必需)** |
| `RENOVATE_REPOSITORIES` | 要处理的仓库 | `''` | | `RENOVATE_REPOSITORIES` | 要处理的仓库 | `''` |

View File

@@ -12,7 +12,7 @@ x-defaults: &defaults
services: services:
renovate: renovate:
<<: *defaults <<: *defaults
image: ${GLOBAL_REGISTRY:-}renovate/renovate:${RENOVATE_VERSION:-42.52.5-full} image: ${GLOBAL_REGISTRY:-}renovate/renovate:${RENOVATE_VERSION:-42.85.4-full}
# Renovate runs as a scheduled job, not a continuous service # Renovate runs as a scheduled job, not a continuous service
# Use 'docker compose run --rm renovate' to execute manually # Use 'docker compose run --rm renovate' to execute manually