refactor: ./apps/*
This commit is contained in:
17
README.md
17
README.md
@@ -5,7 +5,7 @@ Compose Anything helps users quickly deploy various services by providing a set
|
|||||||
## Supported Services
|
## Supported Services
|
||||||
|
|
||||||
| Service | Version |
|
| Service | Version |
|
||||||
| ------------------------------------------------------------- | ------------------- |
|
| -------------------------------------------------------------- | ------------------- |
|
||||||
| [Apache APISIX](./src/apisix) | 3.13.0 |
|
| [Apache APISIX](./src/apisix) | 3.13.0 |
|
||||||
| [Apache Cassandra](./src/cassandra) | 5.0.2 |
|
| [Apache Cassandra](./src/cassandra) | 5.0.2 |
|
||||||
| [Apache Flink](./src/flink) | 1.20.0 |
|
| [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 Pulsar](./src/pulsar) | 4.0.7 |
|
||||||
| [Apache RocketMQ](./src/rocketmq) | 5.3.1 |
|
| [Apache RocketMQ](./src/rocketmq) | 5.3.1 |
|
||||||
| [Bifrost Gateway](./src/bifrost-gateway) | v1.3.54 |
|
| [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 |
|
| [Budibase](./src/budibase) | 3.23.0 |
|
||||||
| [Bytebot](./src/bytebot) | edge |
|
| [Bytebot](./src/bytebot) | edge |
|
||||||
| [Clash](./src/clash) | 1.18.0 |
|
| [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 |
|
| [Dockge](./src/dockge) | 1 |
|
||||||
| [Docker Registry](./src/docker-registry) | 3.0.0 |
|
| [Docker Registry](./src/docker-registry) | 3.0.0 |
|
||||||
| [DuckDB](./src/duckdb) | v1.1.3 |
|
| [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 |
|
| [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 |
|
||||||
@@ -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 Embed](./src/milvus-standalone-embed) | v2.6.7 |
|
||||||
| [Milvus Standalone](./src/milvus-standalone) | v2.6.7 |
|
| [Milvus Standalone](./src/milvus-standalone) | v2.6.7 |
|
||||||
| [Minecraft Bedrock Server](./src/minecraft-bedrock-server) | latest |
|
| [Minecraft Bedrock Server](./src/minecraft-bedrock-server) | latest |
|
||||||
| [MinerU SGLang](./src/mineru-sglang) | 2.2.2 |
|
| [MinerU vLLM](./builds/mineru) | 2.7.0 |
|
||||||
| [MinerU vLLM](./builds/mineru-vllm) | 2.6.4 |
|
|
||||||
| [MinIO](./src/minio) | 0.20251015 |
|
| [MinIO](./src/minio) | 0.20251015 |
|
||||||
| [MLflow](./src/mlflow) | v2.20.2 |
|
| [MLflow](./src/mlflow) | v2.20.2 |
|
||||||
| [MongoDB ReplicaSet Single](./src/mongodb-replicaset-single) | 8.2.3 |
|
| [MongoDB ReplicaSet Single](./src/mongodb-replicaset-single) | 8.2.3 |
|
||||||
| [MongoDB ReplicaSet](./src/mongodb-replicaset) | 8.2.3 |
|
| [MongoDB ReplicaSet](./src/mongodb-replicaset) | 8.2.3 |
|
||||||
| [MongoDB Standalone](./src/mongodb-standalone) | 8.2.3 |
|
| [MongoDB Standalone](./src/mongodb-standalone) | 8.2.3 |
|
||||||
| [MySQL](./src/mysql) | 9.4.0 |
|
| [MySQL](./src/mysql) | 9.4.0 |
|
||||||
| [n8n](./src/n8n) | 1.114.0 |
|
| [n8n](./apps/n8n) | 1.114.0 |
|
||||||
| [Nacos](./src/nacos) | v3.1.0 |
|
| [Nacos](./src/nacos) | v3.1.0 |
|
||||||
| [NebulaGraph](./src/nebulagraph) | v3.8.0 |
|
| [NebulaGraph](./src/nebulagraph) | v3.8.0 |
|
||||||
| [NexaSDK](./src/nexa-sdk) | v0.2.62 |
|
| [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 |
|
| [Phoenix (Arize)](./src/phoenix) | 12.19.0 |
|
||||||
| [Pingora Proxy Manager](./src/pingora-proxy-manager) | v1.0.3 |
|
| [Pingora Proxy Manager](./src/pingora-proxy-manager) | v1.0.3 |
|
||||||
| [Open WebUI Rust](./src/open-webui-rust) | latest |
|
| [Open WebUI Rust](./src/open-webui-rust) | latest |
|
||||||
| [OpenCoze](./src/opencoze) | See Docs |
|
| [OpenCoze](./apps/opencoze) | See Docs |
|
||||||
| [OpenCut](./src/opencut) | latest |
|
| [OpenCut](./src/opencut) | latest |
|
||||||
| [OpenList](./src/openlist) | latest |
|
| [OpenList](./src/openlist) | latest |
|
||||||
| [OpenSearch](./src/opensearch) | 2.19.0 |
|
| [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 |
|
| [Restate](./src/restate) | 1.5.3 |
|
||||||
| [SearXNG](./src/searxng) | 2025.1.20-1ce14ef99 |
|
| [SearXNG](./src/searxng) | 2025.1.20-1ce14ef99 |
|
||||||
| [Sim](./apps/sim) | latest |
|
| [Sim](./apps/sim) | latest |
|
||||||
| [Stable Diffusion WebUI](./src/stable-diffusion-webui-docker) | latest |
|
| [Stable Diffusion WebUI](./apps/stable-diffusion-webui-docker) | latest |
|
||||||
| [Stirling-PDF](./src/stirling-pdf) | latest |
|
| [Stirling-PDF](./apps/stirling-pdf) | latest |
|
||||||
| [Temporal](./src/temporal) | 1.24.2 |
|
| [Temporal](./src/temporal) | 1.24.2 |
|
||||||
| [TiDB](./src/tidb) | v8.5.0 |
|
| [TiDB](./src/tidb) | v8.5.0 |
|
||||||
| [TiKV](./src/tikv) | v8.5.0 |
|
| [TiKV](./src/tikv) | v8.5.0 |
|
||||||
|
|||||||
19
README.zh.md
19
README.zh.md
@@ -5,7 +5,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
|
|||||||
## 已经支持的服务
|
## 已经支持的服务
|
||||||
|
|
||||||
| 服务 | 版本 |
|
| 服务 | 版本 |
|
||||||
| ------------------------------------------------------------- | ------------------- |
|
| -------------------------------------------------------------- | ------------------- |
|
||||||
| [Apache APISIX](./src/apisix) | 3.13.0 |
|
| [Apache APISIX](./src/apisix) | 3.13.0 |
|
||||||
| [Apache Cassandra](./src/cassandra) | 5.0.2 |
|
| [Apache Cassandra](./src/cassandra) | 5.0.2 |
|
||||||
| [Apache Flink](./src/flink) | 1.20.0 |
|
| [Apache Flink](./src/flink) | 1.20.0 |
|
||||||
@@ -15,7 +15,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
|
|||||||
| [Apache Pulsar](./src/pulsar) | 4.0.7 |
|
| [Apache Pulsar](./src/pulsar) | 4.0.7 |
|
||||||
| [Apache RocketMQ](./src/rocketmq) | 5.3.1 |
|
| [Apache RocketMQ](./src/rocketmq) | 5.3.1 |
|
||||||
| [Bifrost Gateway](./src/bifrost-gateway) | v1.3.54 |
|
| [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 |
|
| [Budibase](./src/budibase) | 3.23.0 |
|
||||||
| [Bytebot](./src/bytebot) | edge |
|
| [Bytebot](./src/bytebot) | edge |
|
||||||
| [Clash](./src/clash) | 1.18.0 |
|
| [Clash](./src/clash) | 1.18.0 |
|
||||||
@@ -26,7 +26,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
|
|||||||
| [Dockge](./src/dockge) | 1 |
|
| [Dockge](./src/dockge) | 1 |
|
||||||
| [Docker Registry](./src/docker-registry) | 3.0.0 |
|
| [Docker Registry](./src/docker-registry) | 3.0.0 |
|
||||||
| [DuckDB](./src/duckdb) | v1.1.3 |
|
| [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 |
|
| [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 |
|
||||||
@@ -54,19 +54,18 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
|
|||||||
| [libSQL Server](./src/libsql) | latest |
|
| [libSQL Server](./src/libsql) | latest |
|
||||||
| [LiteLLM](./src/litellm) | main-stable |
|
| [LiteLLM](./src/litellm) | main-stable |
|
||||||
| [Logstash](./src/logstash) | 8.16.1 |
|
| [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 Embed](./src/milvus-standalone-embed) | v2.6.7 |
|
||||||
| [Milvus Standalone](./src/milvus-standalone) | v2.6.7 |
|
| [Milvus Standalone](./src/milvus-standalone) | v2.6.7 |
|
||||||
| [Minecraft Bedrock Server](./src/minecraft-bedrock-server) | latest |
|
| [Minecraft Bedrock Server](./src/minecraft-bedrock-server) | latest |
|
||||||
| [MinerU SGLang](./src/mineru-sglang) | 2.2.2 |
|
| [MinerU vLLM](./builds/mineru) | 2.7.0 |
|
||||||
| [MinerU vLLM](./builds/mineru-vllm) | 2.6.4 |
|
|
||||||
| [MinIO](./src/minio) | 0.20251015 |
|
| [MinIO](./src/minio) | 0.20251015 |
|
||||||
| [MLflow](./src/mlflow) | v2.20.2 |
|
| [MLflow](./src/mlflow) | v2.20.2 |
|
||||||
| [MongoDB ReplicaSet Single](./src/mongodb-replicaset-single) | 8.2.3 |
|
| [MongoDB ReplicaSet Single](./src/mongodb-replicaset-single) | 8.2.3 |
|
||||||
| [MongoDB ReplicaSet](./src/mongodb-replicaset) | 8.2.3 |
|
| [MongoDB ReplicaSet](./src/mongodb-replicaset) | 8.2.3 |
|
||||||
| [MongoDB Standalone](./src/mongodb-standalone) | 8.2.3 |
|
| [MongoDB Standalone](./src/mongodb-standalone) | 8.2.3 |
|
||||||
| [MySQL](./src/mysql) | 9.4.0 |
|
| [MySQL](./src/mysql) | 9.4.0 |
|
||||||
| [n8n](./src/n8n) | 1.114.0 |
|
| [n8n](./apps/n8n) | 1.114.0 |
|
||||||
| [Nacos](./src/nacos) | v3.1.0 |
|
| [Nacos](./src/nacos) | v3.1.0 |
|
||||||
| [NebulaGraph](./src/nebulagraph) | v3.8.0 |
|
| [NebulaGraph](./src/nebulagraph) | v3.8.0 |
|
||||||
| [NexaSDK](./src/nexa-sdk) | v0.2.62 |
|
| [NexaSDK](./src/nexa-sdk) | v0.2.62 |
|
||||||
@@ -81,7 +80,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
|
|||||||
| [Phoenix (Arize)](./src/phoenix) | 12.19.0 |
|
| [Phoenix (Arize)](./src/phoenix) | 12.19.0 |
|
||||||
| [Pingora Proxy Manager](./src/pingora-proxy-manager) | v1.0.3 |
|
| [Pingora Proxy Manager](./src/pingora-proxy-manager) | v1.0.3 |
|
||||||
| [Open WebUI Rust](./src/open-webui-rust) | latest |
|
| [Open WebUI Rust](./src/open-webui-rust) | latest |
|
||||||
| [OpenCoze](./src/opencoze) | See Docs |
|
| [OpenCoze](./apps/opencoze) | See Docs |
|
||||||
| [OpenCut](./src/opencut) | latest |
|
| [OpenCut](./src/opencut) | latest |
|
||||||
| [OpenList](./src/openlist) | latest |
|
| [OpenList](./src/openlist) | latest |
|
||||||
| [OpenSearch](./src/opensearch) | 2.19.0 |
|
| [OpenSearch](./src/opensearch) | 2.19.0 |
|
||||||
@@ -102,8 +101,8 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件,
|
|||||||
| [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 |
|
||||||
| [Sim](./apps/sim) | latest |
|
| [Sim](./apps/sim) | latest |
|
||||||
| [Stable Diffusion WebUI](./src/stable-diffusion-webui-docker) | latest |
|
| [Stable Diffusion WebUI](./apps/stable-diffusion-webui-docker) | latest |
|
||||||
| [Stirling-PDF](./src/stirling-pdf) | latest |
|
| [Stirling-PDF](./apps/stirling-pdf) | latest |
|
||||||
| [Temporal](./src/temporal) | 1.24.2 |
|
| [Temporal](./src/temporal) | 1.24.2 |
|
||||||
| [TiDB](./src/tidb) | v8.5.0 |
|
| [TiDB](./src/tidb) | v8.5.0 |
|
||||||
| [TiKV](./src/tikv) | v8.5.0 |
|
| [TiKV](./src/tikv) | v8.5.0 |
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# MinerU Docker image
|
# MinerU Docker image
|
||||||
MINERU_DOCKER_IMAGE=alexsuntop/mineru:2.6.6
|
MINERU_DOCKER_IMAGE=alexsuntop/mineru:2.7.0
|
||||||
|
|
||||||
# Port configurations
|
# Port configurations
|
||||||
MINERU_PORT_OVERRIDE_VLLM=30000
|
MINERU_PORT_OVERRIDE_VLLM=30000
|
||||||
|
|||||||
@@ -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)
|
# Compute Capability version query (https://developer.nvidia.com/cuda-gpus)
|
||||||
|
# only support x86_64 architecture
|
||||||
FROM vllm/vllm-openai:v0.10.1.1
|
FROM vllm/vllm-openai:v0.10.1.1
|
||||||
|
|
||||||
# Use the official vllm image for gpu with Turing architecture and below (Compute Capability<8.0)
|
# Use the official vllm image for gpu with Volta、Turing、Blackwell architecture (7.0 < Compute Capability < 8.0 or Compute Capability >= 10.0)
|
||||||
# FROM vllm/vllm-openai:v0.10.2
|
# 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
|
# Install libgl for opencv support & Noto fonts for Chinese characters
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
@@ -17,7 +19,7 @@ RUN apt-get update && \
|
|||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Install mineru latest
|
# 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
|
python3 -m pip cache purge
|
||||||
|
|
||||||
# Download models and update the configuration file
|
# Download models and update the configuration file
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ mineru -p demo.pdf -o ./output -b vlm-http-client -u http://localhost:30000
|
|||||||
|
|
||||||
## Configuration
|
## 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_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_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`.
|
- `MINERU_PORT_OVERRIDE_GRADIO`: The host port for the Gradio WebUI, default is `7860`.
|
||||||
|
|||||||
@@ -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_VLLM`: VLLM 服务器的主机端口,默认为 `30000`。
|
||||||
- `MINERU_PORT_OVERRIDE_API`: API 服务的主机端口,默认为 `8000`。
|
- `MINERU_PORT_OVERRIDE_API`: API 服务的主机端口,默认为 `8000`。
|
||||||
- `MINERU_PORT_OVERRIDE_GRADIO`: Gradio WebUI 的主机端口,默认为 `7860`。
|
- `MINERU_PORT_OVERRIDE_GRADIO`: Gradio WebUI 的主机端口,默认为 `7860`。
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ x-defaults: &defaults
|
|||||||
|
|
||||||
x-mineru-vllm: &mineru-vllm
|
x-mineru-vllm: &mineru-vllm
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
image: ${GLOBAL_REGISTRY:-}alexsuntop/mineru:${MINERU_VERSION:-2.6.6}
|
image: ${GLOBAL_REGISTRY:-}alexsuntop/mineru:${MINERU_VERSION:-2.7.0}
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
|||||||
@@ -35,7 +35,8 @@ services:
|
|||||||
cpus: ${APISIX_CPU_RESERVATION:-0.25}
|
cpus: ${APISIX_CPU_RESERVATION:-0.25}
|
||||||
memory: ${APISIX_MEMORY_RESERVATION:-256M}
|
memory: ${APISIX_MEMORY_RESERVATION:-256M}
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
@@ -82,7 +82,11 @@ services:
|
|||||||
cpus: ${KAFKA_CPU_RESERVATION:-0.50}
|
cpus: ${KAFKA_CPU_RESERVATION:-0.50}
|
||||||
memory: ${KAFKA_MEMORY_RESERVATION:-1G}
|
memory: ${KAFKA_MEMORY_RESERVATION:-1G}
|
||||||
healthcheck:
|
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
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -92,6 +96,8 @@ services:
|
|||||||
kafka-ui:
|
kafka-ui:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
image: ${GLOBAL_REGISTRY:-}provectuslabs/kafka-ui:${KAFKA_UI_VERSION:-latest}
|
image: ${GLOBAL_REGISTRY:-}provectuslabs/kafka-ui:${KAFKA_UI_VERSION:-latest}
|
||||||
|
profiles:
|
||||||
|
- ui
|
||||||
depends_on:
|
depends_on:
|
||||||
kafka:
|
kafka:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
@@ -113,8 +119,6 @@ services:
|
|||||||
reservations:
|
reservations:
|
||||||
cpus: ${KAFKA_UI_CPU_RESERVATION:-0.10}
|
cpus: ${KAFKA_UI_CPU_RESERVATION:-0.10}
|
||||||
memory: ${KAFKA_UI_MEMORY_RESERVATION:-128M}
|
memory: ${KAFKA_UI_MEMORY_RESERVATION:-128M}
|
||||||
profiles:
|
|
||||||
- ui
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
zookeeper_data:
|
zookeeper_data:
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ services:
|
|||||||
- pingap
|
- pingap
|
||||||
- --autoreload
|
- --autoreload
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:80/pingap/"]
|
test: ["CMD-SHELL", "echo > /dev/tcp/localhost/80"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
@@ -24,10 +24,14 @@ Redpanda is a Kafka-compatible streaming data platform built for performance and
|
|||||||
2. Start the services:
|
2. Start the services:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Start only Redpanda (without console)
|
||||||
docker compose up -d
|
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:
|
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
|
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
|
## Service Endpoints
|
||||||
|
|
||||||
- **Kafka API** (external): `localhost:19092`
|
- **Kafka API** (external): `localhost:19092`
|
||||||
- **Schema Registry**: `localhost:18081`
|
- **Schema Registry**: `localhost:18081`
|
||||||
- **HTTP Proxy**: `localhost:18082`
|
- **HTTP Proxy**: `localhost:18082`
|
||||||
- **Admin API**: `localhost:19644`
|
- **Admin API**: `localhost:19644`
|
||||||
- **Redpanda Console**: `http://localhost:8080`
|
- **Redpanda Console** (when console profile is enabled): `http://localhost:8080`
|
||||||
|
|
||||||
## Basic Usage
|
## Basic Usage
|
||||||
|
|
||||||
|
|||||||
@@ -24,10 +24,14 @@ Redpanda 是一个与 Kafka 兼容的流数据平台,专为性能和开发者
|
|||||||
2. 启动服务:
|
2. 启动服务:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# 仅启动 Redpanda(不包含控制台)
|
||||||
docker compose up -d
|
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. 验证集群健康状态:
|
4. 验证集群健康状态:
|
||||||
|
|
||||||
@@ -35,13 +39,21 @@ Redpanda 是一个与 Kafka 兼容的流数据平台,专为性能和开发者
|
|||||||
docker compose exec redpanda rpk cluster health
|
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`
|
- **Kafka API**(外部):`localhost:19092`
|
||||||
- **Schema Registry**:`localhost:18081`
|
- **Schema Registry**:`localhost:18081`
|
||||||
- **HTTP Proxy**:`localhost:18082`
|
- **HTTP Proxy**:`localhost:18082`
|
||||||
- **Admin API**:`localhost:19644`
|
- **Admin API**:`localhost:19644`
|
||||||
- **Redpanda Console**:`http://localhost:8080`
|
- **Redpanda Console**(启用 console profile 时):`http://localhost:8080`
|
||||||
|
|
||||||
## 基本使用
|
## 基本使用
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,8 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=${TZ:-UTC}
|
- TZ=${TZ:-UTC}
|
||||||
healthcheck:
|
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
|
interval: 15s
|
||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 5
|
retries: 5
|
||||||
@@ -55,6 +56,8 @@ services:
|
|||||||
console:
|
console:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
image: ${GLOBAL_REGISTRY:-}redpandadata/console:${REDPANDA_CONSOLE_VERSION:-v3.3.2}
|
image: ${GLOBAL_REGISTRY:-}redpandadata/console:${REDPANDA_CONSOLE_VERSION:-v3.3.2}
|
||||||
|
profiles:
|
||||||
|
- console
|
||||||
ports:
|
ports:
|
||||||
- "${REDPANDA_CONSOLE_PORT_OVERRIDE:-8080}:8080"
|
- "${REDPANDA_CONSOLE_PORT_OVERRIDE:-8080}:8080"
|
||||||
environment:
|
environment:
|
||||||
@@ -68,7 +71,8 @@ services:
|
|||||||
redpanda:
|
redpanda:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8080/admin/health"]
|
test:
|
||||||
|
["CMD", "wget", "--spider", "-q", "http://localhost:8080/admin/health"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user