refactor: ./apps/*

This commit is contained in:
Sun-ZhenXing
2026-01-01 18:32:10 +08:00
parent 9c25970445
commit 922068b8af
37 changed files with 274 additions and 241 deletions

View File

@@ -5,7 +5,7 @@ Compose Anything helps users quickly deploy various services by providing a set
## Supported Services
| Service | Version |
| ------------------------------------------------------------- | ------------------- |
| -------------------------------------------------------------- | ------------------- |
| [Apache APISIX](./src/apisix) | 3.13.0 |
| [Apache Cassandra](./src/cassandra) | 5.0.2 |
| [Apache Flink](./src/flink) | 1.20.0 |
@@ -15,7 +15,7 @@ Compose Anything helps users quickly deploy various services by providing a set
| [Apache Pulsar](./src/pulsar) | 4.0.7 |
| [Apache RocketMQ](./src/rocketmq) | 5.3.1 |
| [Bifrost Gateway](./src/bifrost-gateway) | v1.3.54 |
| [Bolt.diy](./src/bolt-diy) | latest |
| [Bolt.diy](./apps/bolt-diy) | latest |
| [Budibase](./src/budibase) | 3.23.0 |
| [Bytebot](./src/bytebot) | edge |
| [Clash](./src/clash) | 1.18.0 |
@@ -26,7 +26,7 @@ Compose Anything helps users quickly deploy various services by providing a set
| [Dockge](./src/dockge) | 1 |
| [Docker Registry](./src/docker-registry) | 3.0.0 |
| [DuckDB](./src/duckdb) | v1.1.3 |
| [Easy Dataset](./src/easy-dataset) | 1.5.1 |
| [Easy Dataset](./apps/easy-dataset) | 1.5.1 |
| [Elasticsearch](./src/elasticsearch) | 8.16.1 |
| [etcd](./src/etcd) | 3.6.0 |
| [Firecrawl](./src/firecrawl) | latest |
@@ -58,15 +58,14 @@ Compose Anything helps users quickly deploy various services by providing a set
| [Milvus Standalone Embed](./src/milvus-standalone-embed) | v2.6.7 |
| [Milvus Standalone](./src/milvus-standalone) | v2.6.7 |
| [Minecraft Bedrock Server](./src/minecraft-bedrock-server) | latest |
| [MinerU SGLang](./src/mineru-sglang) | 2.2.2 |
| [MinerU vLLM](./builds/mineru-vllm) | 2.6.4 |
| [MinerU vLLM](./builds/mineru) | 2.7.0 |
| [MinIO](./src/minio) | 0.20251015 |
| [MLflow](./src/mlflow) | v2.20.2 |
| [MongoDB ReplicaSet Single](./src/mongodb-replicaset-single) | 8.2.3 |
| [MongoDB ReplicaSet](./src/mongodb-replicaset) | 8.2.3 |
| [MongoDB Standalone](./src/mongodb-standalone) | 8.2.3 |
| [MySQL](./src/mysql) | 9.4.0 |
| [n8n](./src/n8n) | 1.114.0 |
| [n8n](./apps/n8n) | 1.114.0 |
| [Nacos](./src/nacos) | v3.1.0 |
| [NebulaGraph](./src/nebulagraph) | v3.8.0 |
| [NexaSDK](./src/nexa-sdk) | v0.2.62 |
@@ -81,7 +80,7 @@ Compose Anything helps users quickly deploy various services by providing a set
| [Phoenix (Arize)](./src/phoenix) | 12.19.0 |
| [Pingora Proxy Manager](./src/pingora-proxy-manager) | v1.0.3 |
| [Open WebUI Rust](./src/open-webui-rust) | latest |
| [OpenCoze](./src/opencoze) | See Docs |
| [OpenCoze](./apps/opencoze) | See Docs |
| [OpenCut](./src/opencut) | latest |
| [OpenList](./src/openlist) | latest |
| [OpenSearch](./src/opensearch) | 2.19.0 |
@@ -102,8 +101,8 @@ Compose Anything helps users quickly deploy various services by providing a set
| [Restate](./src/restate) | 1.5.3 |
| [SearXNG](./src/searxng) | 2025.1.20-1ce14ef99 |
| [Sim](./apps/sim) | latest |
| [Stable Diffusion WebUI](./src/stable-diffusion-webui-docker) | latest |
| [Stirling-PDF](./src/stirling-pdf) | latest |
| [Stable Diffusion WebUI](./apps/stable-diffusion-webui-docker) | latest |
| [Stirling-PDF](./apps/stirling-pdf) | latest |
| [Temporal](./src/temporal) | 1.24.2 |
| [TiDB](./src/tidb) | v8.5.0 |
| [TiKV](./src/tikv) | v8.5.0 |

View File

@@ -5,7 +5,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
## 已经支持的服务
| 服务 | 版本 |
| ------------------------------------------------------------- | ------------------- |
| -------------------------------------------------------------- | ------------------- |
| [Apache APISIX](./src/apisix) | 3.13.0 |
| [Apache Cassandra](./src/cassandra) | 5.0.2 |
| [Apache Flink](./src/flink) | 1.20.0 |
@@ -15,7 +15,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
| [Apache Pulsar](./src/pulsar) | 4.0.7 |
| [Apache RocketMQ](./src/rocketmq) | 5.3.1 |
| [Bifrost Gateway](./src/bifrost-gateway) | v1.3.54 |
| [Bolt.diy](./src/bolt-diy) | latest |
| [Bolt.diy](./apps/bolt-diy) | latest |
| [Budibase](./src/budibase) | 3.23.0 |
| [Bytebot](./src/bytebot) | edge |
| [Clash](./src/clash) | 1.18.0 |
@@ -26,7 +26,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
| [Dockge](./src/dockge) | 1 |
| [Docker Registry](./src/docker-registry) | 3.0.0 |
| [DuckDB](./src/duckdb) | v1.1.3 |
| [Easy Dataset](./src/easy-dataset) | 1.5.1 |
| [Easy Dataset](./apps/easy-dataset) | 1.5.1 |
| [Elasticsearch](./src/elasticsearch) | 8.16.1 |
| [etcd](./src/etcd) | 3.6.0 |
| [Firecrawl](./src/firecrawl) | latest |
@@ -54,19 +54,18 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
| [libSQL Server](./src/libsql) | latest |
| [LiteLLM](./src/litellm) | main-stable |
| [Logstash](./src/logstash) | 8.16.1 |
| [MariaDB Galera 集群](./src/mariadb-galera) | 11.7.2 |
| [MariaDB Galera Cluster](./src/mariadb-galera) | 11.7.2 |
| [Milvus Standalone Embed](./src/milvus-standalone-embed) | v2.6.7 |
| [Milvus Standalone](./src/milvus-standalone) | v2.6.7 |
| [Minecraft Bedrock Server](./src/minecraft-bedrock-server) | latest |
| [MinerU SGLang](./src/mineru-sglang) | 2.2.2 |
| [MinerU vLLM](./builds/mineru-vllm) | 2.6.4 |
| [MinerU vLLM](./builds/mineru) | 2.7.0 |
| [MinIO](./src/minio) | 0.20251015 |
| [MLflow](./src/mlflow) | v2.20.2 |
| [MongoDB ReplicaSet Single](./src/mongodb-replicaset-single) | 8.2.3 |
| [MongoDB ReplicaSet](./src/mongodb-replicaset) | 8.2.3 |
| [MongoDB Standalone](./src/mongodb-standalone) | 8.2.3 |
| [MySQL](./src/mysql) | 9.4.0 |
| [n8n](./src/n8n) | 1.114.0 |
| [n8n](./apps/n8n) | 1.114.0 |
| [Nacos](./src/nacos) | v3.1.0 |
| [NebulaGraph](./src/nebulagraph) | v3.8.0 |
| [NexaSDK](./src/nexa-sdk) | v0.2.62 |
@@ -81,7 +80,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
| [Phoenix (Arize)](./src/phoenix) | 12.19.0 |
| [Pingora Proxy Manager](./src/pingora-proxy-manager) | v1.0.3 |
| [Open WebUI Rust](./src/open-webui-rust) | latest |
| [OpenCoze](./src/opencoze) | See Docs |
| [OpenCoze](./apps/opencoze) | See Docs |
| [OpenCut](./src/opencut) | latest |
| [OpenList](./src/openlist) | latest |
| [OpenSearch](./src/opensearch) | 2.19.0 |
@@ -102,8 +101,8 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
| [Restate](./src/restate) | 1.5.3 |
| [SearXNG](./src/searxng) | 2025.1.20-1ce14ef99 |
| [Sim](./apps/sim) | latest |
| [Stable Diffusion WebUI](./src/stable-diffusion-webui-docker) | latest |
| [Stirling-PDF](./src/stirling-pdf) | latest |
| [Stable Diffusion WebUI](./apps/stable-diffusion-webui-docker) | latest |
| [Stirling-PDF](./apps/stirling-pdf) | latest |
| [Temporal](./src/temporal) | 1.24.2 |
| [TiDB](./src/tidb) | v8.5.0 |
| [TiKV](./src/tikv) | v8.5.0 |

View File

@@ -1,5 +1,5 @@
# MinerU Docker image
MINERU_DOCKER_IMAGE=alexsuntop/mineru:2.6.6
MINERU_DOCKER_IMAGE=alexsuntop/mineru:2.7.0
# Port configurations
MINERU_PORT_OVERRIDE_VLLM=30000

View File

@@ -1,9 +1,11 @@
# Use the official vllm image for gpu with Ampere architecture and above (Compute Capability>=8.0)
# Use the official vllm image for gpu with Ampere、Ada Lovelace、Hopper architecture (8.0 <= Compute Capability <= 9.0)
# Compute Capability version query (https://developer.nvidia.com/cuda-gpus)
# only support x86_64 architecture
FROM vllm/vllm-openai:v0.10.1.1
# Use the official vllm image for gpu with Turing architecture and below (Compute Capability<8.0)
# FROM vllm/vllm-openai:v0.10.2
# Use the official vllm image for gpu with Volta、Turing、Blackwell architecture (7.0 < Compute Capability < 8.0 or Compute Capability >= 10.0)
# support x86_64 architecture and ARM(AArch64) architecture
# FROM vllm/vllm-openai:v0.11.0
# Install libgl for opencv support & Noto fonts for Chinese characters
RUN apt-get update && \
@@ -17,7 +19,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# Install mineru latest
RUN python3 -m pip install -U 'mineru[core]' --break-system-packages && \
RUN python3 -m pip install -U 'mineru[core]>=2.7.0' --break-system-packages && \
python3 -m pip cache purge
# Download models and update the configuration file

View File

@@ -39,7 +39,7 @@ mineru -p demo.pdf -o ./output -b vlm-http-client -u http://localhost:30000
## Configuration
- `MINERU_VERSION`: The version for MinerU, default is `2.6.6`.
- `MINERU_VERSION`: The version for MinerU, default is `2.7.0`.
- `MINERU_PORT_OVERRIDE_VLLM`: The host port for the VLLM server, default is `30000`.
- `MINERU_PORT_OVERRIDE_API`: The host port for the API service, default is `8000`.
- `MINERU_PORT_OVERRIDE_GRADIO`: The host port for the Gradio WebUI, default is `7860`.

View File

@@ -39,7 +39,7 @@ mineru -p demo.pdf -o ./output -b vlm-http-client -u http://localhost:30000
## 配置
- `MINERU_VERSION`: MinerU 的 Docker 镜像版本,默认为 `2.6.6`。
- `MINERU_VERSION`: MinerU 的 Docker 镜像版本,默认为 `2.7.0`。
- `MINERU_PORT_OVERRIDE_VLLM`: VLLM 服务器的主机端口,默认为 `30000`。
- `MINERU_PORT_OVERRIDE_API`: API 服务的主机端口,默认为 `8000`。
- `MINERU_PORT_OVERRIDE_GRADIO`: Gradio WebUI 的主机端口,默认为 `7860`。

View File

@@ -8,7 +8,7 @@ x-defaults: &defaults
x-mineru-vllm: &mineru-vllm
<<: *defaults
image: ${GLOBAL_REGISTRY:-}alexsuntop/mineru:${MINERU_VERSION:-2.6.6}
image: ${GLOBAL_REGISTRY:-}alexsuntop/mineru:${MINERU_VERSION:-2.7.0}
build:
context: .
dockerfile: Dockerfile

View File

@@ -35,7 +35,8 @@ services:
cpus: ${APISIX_CPU_RESERVATION:-0.25}
memory: ${APISIX_MEMORY_RESERVATION:-256M}
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:9080/apisix/status || exit 1"]
test:
["CMD-SHELL", "curl -f http://localhost:9080/apisix/status || exit 1"]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -82,7 +82,11 @@ services:
cpus: ${KAFKA_CPU_RESERVATION:-0.50}
memory: ${KAFKA_MEMORY_RESERVATION:-1G}
healthcheck:
test: ["CMD-SHELL", "kafka-broker-api-versions --bootstrap-server localhost:9092"]
test:
[
"CMD-SHELL",
"kafka-broker-api-versions --bootstrap-server localhost:9092",
]
interval: 30s
timeout: 10s
retries: 5
@@ -92,6 +96,8 @@ services:
kafka-ui:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}provectuslabs/kafka-ui:${KAFKA_UI_VERSION:-latest}
profiles:
- ui
depends_on:
kafka:
condition: service_healthy
@@ -113,8 +119,6 @@ services:
reservations:
cpus: ${KAFKA_UI_CPU_RESERVATION:-0.10}
memory: ${KAFKA_UI_MEMORY_RESERVATION:-128M}
profiles:
- ui
volumes:
zookeeper_data:

View File

@@ -28,7 +28,7 @@ services:
- pingap
- --autoreload
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:80/pingap/"]
test: ["CMD-SHELL", "echo > /dev/tcp/localhost/80"]
interval: 30s
timeout: 10s
retries: 3

View File

@@ -24,10 +24,14 @@ Redpanda is a Kafka-compatible streaming data platform built for performance and
2. Start the services:
```bash
# Start only Redpanda (without console)
docker compose up -d
# Or start with Redpanda Console UI
docker compose --profile console up -d
```
3. Access Redpanda Console at <http://localhost:8080>
3. If started with console profile, access Redpanda Console at <http://localhost:8080>
4. Verify the cluster is healthy:
@@ -35,13 +39,21 @@ Redpanda is a Kafka-compatible streaming data platform built for performance and
docker compose exec redpanda rpk cluster health
```
## Profiles
This configuration supports the following Docker Compose profiles:
- **console**: Enables the Redpanda Console web UI for monitoring and management
- To start with console: `docker compose --profile console up -d`
- To start without console: `docker compose up -d`
## Service Endpoints
- **Kafka API** (external): `localhost:19092`
- **Schema Registry**: `localhost:18081`
- **HTTP Proxy**: `localhost:18082`
- **Admin API**: `localhost:19644`
- **Redpanda Console**: `http://localhost:8080`
- **Redpanda Console** (when console profile is enabled): `http://localhost:8080`
## Basic Usage

View File

@@ -24,10 +24,14 @@ Redpanda 是一个与 Kafka 兼容的流数据平台,专为性能和开发者
2. 启动服务:
```bash
# 仅启动 Redpanda不包含控制台
docker compose up -d
# 或者启动包含 Redpanda Console UI
docker compose --profile console up -d
```
3. 访问 Redpanda Console<http://localhost:8080>
3. 如果使用 console profile 启动,可访问 Redpanda Console<http://localhost:8080>
4. 验证集群健康状态:
@@ -35,13 +39,21 @@ Redpanda 是一个与 Kafka 兼容的流数据平台,专为性能和开发者
docker compose exec redpanda rpk cluster health
```
## Profiles
此配置支持以下 Docker Compose profiles
- **console**:启用 Redpanda Console Web UI用于监控和管理
- 启用 console`docker compose --profile console up -d`
- 不启用 console`docker compose up -d`
## 服务端点
- **Kafka API**(外部):`localhost:19092`
- **Schema Registry**`localhost:18081`
- **HTTP Proxy**`localhost:18082`
- **Admin API**`localhost:19644`
- **Redpanda Console**`http://localhost:8080`
- **Redpanda Console**(启用 console profile 时)`http://localhost:8080`
## 基本使用

View File

@@ -38,7 +38,8 @@ services:
environment:
- TZ=${TZ:-UTC}
healthcheck:
test: ["CMD-SHELL", "rpk cluster health | grep -E 'Healthy:.+true' || exit 1"]
test:
["CMD-SHELL", "rpk cluster health | grep -E 'Healthy:.+true' || exit 1"]
interval: 15s
timeout: 10s
retries: 5
@@ -55,6 +56,8 @@ services:
console:
<<: *defaults
image: ${GLOBAL_REGISTRY:-}redpandadata/console:${REDPANDA_CONSOLE_VERSION:-v3.3.2}
profiles:
- console
ports:
- "${REDPANDA_CONSOLE_PORT_OVERRIDE:-8080}:8080"
environment:
@@ -68,7 +71,8 @@ services:
redpanda:
condition: service_healthy
healthcheck:
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/admin/health"]
test:
["CMD", "wget", "--spider", "-q", "http://localhost:8080/admin/health"]
interval: 10s
timeout: 5s
retries: 3