diff --git a/README.md b/README.md index 84fb8d3..20d474d 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,7 @@ Compose Anything helps users quickly deploy various services by providing a set | [NebulaGraph](./src/nebulagraph) | v3.8.0 | | [NexaSDK](./src/nexa-sdk) | v0.2.62 | | [Neo4j](./src/neo4j) | 5.27.4 | +| [Netdata](./src/netdata) | latest | | [Nginx](./src/nginx) | 1.29.1 | | [Node Exporter](./src/node-exporter) | v1.8.2 | | [OceanBase](./src/oceanbase) | 4.3.3 | diff --git a/README.zh.md b/README.zh.md index 38a162f..a2da966 100644 --- a/README.zh.md +++ b/README.zh.md @@ -70,6 +70,7 @@ Compose Anything 通过提供一组高质量的 Docker Compose 配置文件, | [NebulaGraph](./src/nebulagraph) | v3.8.0 | | [NexaSDK](./src/nexa-sdk) | v0.2.62 | | [Neo4j](./src/neo4j) | 5.27.4 | +| [Netdata](./src/netdata) | latest | | [Nginx](./src/nginx) | 1.29.1 | | [Node Exporter](./src/node-exporter) | v1.8.2 | | [OceanBase](./src/oceanbase) | 4.3.3 | diff --git a/src/bytebot/docker-compose.yaml b/src/bytebot/docker-compose.yaml index dc1b1c6..4ef6e89 100644 --- a/src/bytebot/docker-compose.yaml +++ b/src/bytebot/docker-compose.yaml @@ -9,7 +9,7 @@ x-defaults: &defaults services: bytebot-desktop: <<: *defaults - image: ghcr.io/bytebot-ai/bytebot-desktop:${BYTEBOT_VERSION:-edge} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}bytebot-ai/bytebot-desktop:${BYTEBOT_VERSION:-edge} ports: - "${BYTEBOT_DESKTOP_PORT_OVERRIDE:-9990}:9990" environment: @@ -32,7 +32,7 @@ services: bytebot-agent: <<: *defaults - image: ghcr.io/bytebot-ai/bytebot-agent:${BYTEBOT_VERSION:-edge} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}bytebot-ai/bytebot-agent:${BYTEBOT_VERSION:-edge} depends_on: bytebot-desktop: condition: service_healthy @@ -64,7 +64,7 @@ services: bytebot-ui: <<: *defaults - image: ghcr.io/bytebot-ai/bytebot-ui:${BYTEBOT_VERSION:-edge} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}bytebot-ai/bytebot-ui:${BYTEBOT_VERSION:-edge} depends_on: bytebot-agent: condition: service_healthy diff --git a/src/easy-dataset/docker-compose.yaml b/src/easy-dataset/docker-compose.yaml index a2a4a91..189aca8 100644 --- a/src/easy-dataset/docker-compose.yaml +++ b/src/easy-dataset/docker-compose.yaml @@ -9,7 +9,7 @@ x-defaults: &defaults services: easy-dataset: <<: *defaults - image: ghcr.io/conardli/easy-dataset:${EASY_DATASET_VERSION:-1.5.1} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}conardli/easy-dataset:${EASY_DATASET_VERSION:-1.5.1} ports: - "${EASY_DATASET_PORT_OVERRIDE:-1717}:1717" volumes: diff --git a/src/firecrawl/docker-compose.yaml b/src/firecrawl/docker-compose.yaml index 4588214..26f0bbd 100644 --- a/src/firecrawl/docker-compose.yaml +++ b/src/firecrawl/docker-compose.yaml @@ -39,7 +39,7 @@ x-common-env: &common-env services: playwright-service: <<: *defaults - image: ghcr.io/firecrawl/playwright-service:${PLAYWRIGHT_VERSION:-latest} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}firecrawl/playwright-service:${PLAYWRIGHT_VERSION:-latest} environment: PORT: 3000 PROXY_SERVER: ${PROXY_SERVER:-} @@ -57,7 +57,7 @@ services: api: <<: *defaults - image: ghcr.io/firecrawl/firecrawl:${FIRECRAWL_VERSION:-latest} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}firecrawl/firecrawl:${FIRECRAWL_VERSION:-latest} environment: <<: *common-env HOST: 0.0.0.0 @@ -121,7 +121,7 @@ services: nuq-postgres: <<: *defaults - image: ghcr.io/firecrawl/nuq-postgres:${NUQ_POSTGRES_VERSION:-latest} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}firecrawl/nuq-postgres:${NUQ_POSTGRES_VERSION:-latest} environment: POSTGRES_USER: ${POSTGRES_USER:-postgres} POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres} diff --git a/src/jodconverter/.env.example b/src/jodconverter/.env.example deleted file mode 100644 index 86a34be..0000000 --- a/src/jodconverter/.env.example +++ /dev/null @@ -1,17 +0,0 @@ -# OfficeConverter (based on jodconverter) version -OFFICECONVERTER_VERSION=latest - -# Timezone -TZ=UTC - -# LibreOffice instances for document conversion -CONVERTER_LIBREOFFICE_INSTANCES=2 - -# Maximum conversion queue size -CONVERTER_QUEUE_SIZE=1000 - -# Java heap memory configuration -JAVA_OPTS=-Xmx1024m - -# Port override (optional) -# OFFICECONVERTER_PORT_OVERRIDE=8000 diff --git a/src/jodconverter/README.md b/src/jodconverter/README.md deleted file mode 100644 index 5b3ed00..0000000 --- a/src/jodconverter/README.md +++ /dev/null @@ -1,169 +0,0 @@ -# OfficeConverter (JODConverter) - -[English](./README.md) | [中文](./README.zh.md) - -This service deploys OfficeConverter, a modern REST API for document conversion based on JODConverter and LibreOffice. It automates document conversions between various formats including Word, PDF, Excel, PowerPoint, and more. The officeconverter project is an extended and actively maintained version of jodconverter-samples-rest. - -## Services - -- `officeconverter`: The REST API service for document conversion with integrated LibreOffice instances. - -## Environment Variables - -| Variable Name | Description | Default Value | -| ------------------------------- | ---------------------------------------- | ------------- | -| OFFICECONVERTER_VERSION | OfficeConverter image version | `latest` | -| OFFICECONVERTER_PORT_OVERRIDE | Host port mapping (maps to port 8000) | 8000 | -| CONVERTER_LIBREOFFICE_INSTANCES | Number of parallel LibreOffice instances | `2` | -| CONVERTER_QUEUE_SIZE | Maximum conversion queue size | `1000` | -| JAVA_OPTS | Java heap memory configuration | `-Xmx1024m` | -| TZ | Timezone | `UTC` | - -Please modify the `.env` file as needed for your use case. - -## Volumes - -- `officeconverter_config`: A volume for storing OfficeConverter configuration at `/etc/app`. - -## Usage - -1. Start the service: - - ```bash - docker compose up -d - ``` - -2. The OfficeConverter REST API will be available at `http://localhost:8000` (or your configured port). - -3. Check service readiness at `http://localhost:8000/ready` - -## Document Conversion - -### Basic Conversion - -Convert a document using the REST API: - -```bash -curl -X POST http://localhost:8000/conversion?format=pdf \ - -F "file=@input.docx" \ - -o output.pdf -``` - -### REST Endpoints - -- `POST /conversion?format=` - Convert a document to the specified format - - Query parameter: `format` - Output format (e.g., pdf, html, docx, xlsx) - - Form parameter: `file` - The file to convert -- `GET /ready` - Health check endpoint - -### Supported Formats - -OfficeConverter supports conversion between various document formats including: - -- Documents: DOCX, DOC, ODT, RTF, TXT, DOTX -- Spreadsheets: XLSX, XLS, ODS, CSV, XLTX -- Presentations: PPTX, PPT, ODP -- PDF and HTML conversion - -Additional formats can be added by editing `src/resources/document-formats.json`. - -## Configuration - -### LibreOffice Instances - -Control the number of LibreOffice instances for parallel document processing: - -```dotenv -CONVERTER_LIBREOFFICE_INSTANCES=4 -``` - -More instances allow for greater concurrency but consume more memory. - -### Memory Configuration - -Adjust Java heap memory based on your conversion load: - -```dotenv -JAVA_OPTS=-Xmx2048m -``` - -### Custom Configuration - -Mount a custom `application.yml` file for advanced configuration: - -```yaml -# /etc/app/application.yml -converter: - libreoffice-instances: 4 - queue: - max-size: 2000 -``` - -## Resource Limits - -- CPU: Limited to 2 cores with a reservation of 0.5 cores -- Memory: Limited to 2 GB with a reservation of 512 MB - -The resource limits can be adjusted in docker-compose.yaml based on your conversion workload. - -## Health Checks - -The service includes a health check that verifies the `/ready` endpoint. The container will be considered healthy after 30 seconds of successful health checks. - -## Advanced Usage - -### Conversion with Options - -Some conversions support additional parameters. Check the OfficeConverter documentation for advanced options. - -### Monitoring - -View logs to monitor conversion activity: - -```bash -docker compose logs -f officeconverter -``` - -### Performance Tuning - -For high-volume conversion workloads, consider: - -- Increasing `CONVERTER_LIBREOFFICE_INSTANCES` to 4-8 -- Increasing `JAVA_OPTS` memory limit -- Increasing `CONVERTER_QUEUE_SIZE` for more pending jobs - -## Troubleshooting - -### Service Not Ready - -Check if the service is fully initialized: - -```bash -curl http://localhost:8000/ready -``` - -If not ready, check the logs: - -```bash -docker compose logs officeconverter -``` - -### Memory Issues - -If conversions fail with memory errors, increase the Java heap: - -```dotenv -JAVA_OPTS=-Xmx2048m -``` - -And increase the memory limit in docker-compose.yaml. - -### Conversion Failures - -Check service logs for detailed error messages: - -```bash -docker compose logs officeconverter | grep -i error -``` - -For more information, visit the [OfficeConverter GitHub repository](https://github.com/EugenMayer/officeconverter). diff --git a/src/jodconverter/README.zh.md b/src/jodconverter/README.zh.md deleted file mode 100644 index 77ff5b4..0000000 --- a/src/jodconverter/README.zh.md +++ /dev/null @@ -1,169 +0,0 @@ -# OfficeConverter(JODConverter) - -[English](./README.md) | [中文](./README.zh.md) - -此服务部署 OfficeConverter,一个基于 JODConverter 和 LibreOffice 的现代 REST API 文档转换服务。它自动进行文档转换,支持多种格式包括 Word、PDF、Excel、PowerPoint 等。officeconverter 项目是 jodconverter-samples-rest 的扩展和积极维护的版本。 - -## 服务 - -- `officeconverter`:具有集成 LibreOffice 实例的 REST API 文档转换服务。 - -## 环境变量 - -| 变量名 | 描述 | 默认值 | -| ------------------------------- | ------------------------------- | ----------- | -| OFFICECONVERTER_VERSION | OfficeConverter 镜像版本 | `latest` | -| OFFICECONVERTER_PORT_OVERRIDE | 主机端口映射(映射到端口 8000) | 8000 | -| CONVERTER_LIBREOFFICE_INSTANCES | 并行 LibreOffice 实例数 | `2` | -| CONVERTER_QUEUE_SIZE | 最大转换队列大小 | `1000` | -| JAVA_OPTS | Java 堆内存配置 | `-Xmx1024m` | -| TZ | 时区 | `UTC` | - -请根据您的使用情况修改 `.env` 文件。 - -## 卷 - -- `officeconverter_config`:用于存储 OfficeConverter 配置的卷,位于 `/etc/app`。 - -## 使用方法 - -1. 启动服务: - - ```bash - docker compose up -d - ``` - -2. OfficeConverter REST API 将在 `http://localhost:8000`(或您配置的端口)上可用。 - -3. 在 `http://localhost:8000/ready` 检查服务就绪状态 - -## 文档转换 - -### 基本转换 - -使用 REST API 转换文档: - -```bash -curl -X POST http://localhost:8000/conversion?format=pdf \ - -F "file=@input.docx" \ - -o output.pdf -``` - -### REST 端点 - -- `POST /conversion?format=` - 将文档转换为指定格式 - - 查询参数:`format` - 输出格式(例如 pdf、html、docx、xlsx) - - 表单参数:`file` - 待转换文件 -- `GET /ready` - 健康检查端点 - -### 支持的格式 - -OfficeConverter 支持各种文档格式之间的转换,包括: - -- 文档:DOCX、DOC、ODT、RTF、TXT、DOTX -- 电子表格:XLSX、XLS、ODS、CSV、XLTX -- 演示文稿:PPTX、PPT、ODP -- PDF 和 HTML 转换 - -可以通过编辑 `src/resources/document-formats.json` 添加其他格式。 - -## 配置 - -### LibreOffice 实例 - -控制 LibreOffice 实例数量以实现并行文档处理: - -```dotenv -CONVERTER_LIBREOFFICE_INSTANCES=4 -``` - -更多实例允许更高的并发性,但会消耗更多内存。 - -### 内存配置 - -根据您的转换负载调整 Java 堆内存: - -```dotenv -JAVA_OPTS=-Xmx2048m -``` - -### 自定义配置 - -挂载自定义 `application.yml` 文件以进行高级配置: - -```yaml -# /etc/app/application.yml -converter: - libreoffice-instances: 4 - queue: - max-size: 2000 -``` - -## 资源限制 - -- CPU:限制为 2 核,预留 0.5 核 -- 内存:限制为 2 GB,预留 512 MB - -资源限制可以根据您的转换工作负载在 docker-compose.yaml 中调整。 - -## 健康检查 - -该服务包括一个健康检查,验证 `/ready` 端点。在 30 秒的成功健康检查后,容器将被视为健康。 - -## 高级使用 - -### 带选项的转换 - -某些转换支持其他参数。查看 OfficeConverter 文档了解高级选项。 - -### 监控 - -查看日志以监视转换活动: - -```bash -docker compose logs -f officeconverter -``` - -### 性能调优 - -对于高容量转换工作负载,请考虑: - -- 将 `CONVERTER_LIBREOFFICE_INSTANCES` 增加到 4-8 -- 增加 `JAVA_OPTS` 内存限制 -- 增加 `CONVERTER_QUEUE_SIZE` 以支持更多待处理作业 - -## 故障排除 - -### 服务未就绪 - -检查服务是否已完全初始化: - -```bash -curl http://localhost:8000/ready -``` - -如果未就绪,检查日志: - -```bash -docker compose logs officeconverter -``` - -### 内存问题 - -如果转换因内存错误而失败,请增加 Java 堆: - -```dotenv -JAVA_OPTS=-Xmx2048m -``` - -并增加 docker-compose.yaml 中的内存限制。 - -### 转换失败 - -检查服务日志以获取详细错误消息: - -```bash -docker compose logs officeconverter | grep -i error -``` - -有关更多信息,请访问 [OfficeConverter GitHub 仓库](https://github.com/EugenMayer/officeconverter)。 diff --git a/src/jodconverter/docker-compose.yaml b/src/jodconverter/docker-compose.yaml deleted file mode 100644 index 33758ff..0000000 --- a/src/jodconverter/docker-compose.yaml +++ /dev/null @@ -1,38 +0,0 @@ -x-defaults: &defaults - restart: unless-stopped - logging: - driver: json-file - options: - max-size: 100m - max-file: "3" - -services: - officeconverter: - <<: *defaults - image: ghcr.io/eugenmayer/kontextwork-converter:${OFFICECONVERTER_VERSION:-latest} - ports: - - "${OFFICECONVERTER_PORT_OVERRIDE:-8000}:8000" - volumes: - - officeconverter_config:/etc/app - environment: - - TZ=${TZ:-UTC} - - CONVERTER_LIBREOFFICE_INSTANCES=${CONVERTER_LIBREOFFICE_INSTANCES:-2} - - CONVERTER_QUEUE_SIZE=${CONVERTER_QUEUE_SIZE:-1000} - - JAVA_OPTS=${JAVA_OPTS:--Xmx1024m} - deploy: - resources: - limits: - cpus: ${OFFICECONVERTER_CPU_LIMIT:-2.00} - memory: ${OFFICECONVERTER_MEMORY_LIMIT:-2G} - reservations: - cpus: ${OFFICECONVERTER_CPU_RESERVATION:-0.50} - memory: ${OFFICECONVERTER_MEMORY_RESERVATION:-512M} - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000/ready"] - interval: 30s - timeout: 10s - retries: 3 - start_period: 30s - -volumes: - officeconverter_config: diff --git a/src/litellm/docker-compose.yaml b/src/litellm/docker-compose.yaml index 77fe1aa..6e7c199 100644 --- a/src/litellm/docker-compose.yaml +++ b/src/litellm/docker-compose.yaml @@ -13,7 +13,7 @@ services: context: . args: target: runtime - image: ghcr.io/berriai/litellm:${LITELLM_VERSION:-main-stable} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}berriai/litellm:${LITELLM_VERSION:-main-stable} # Uncomment these lines to start proxy with a config.yaml file # volumes: # - ./config.yaml:/app/config.yaml:ro diff --git a/src/mlflow/docker-compose.yaml b/src/mlflow/docker-compose.yaml index e34ae19..dbf7ef2 100644 --- a/src/mlflow/docker-compose.yaml +++ b/src/mlflow/docker-compose.yaml @@ -77,7 +77,7 @@ services: mlflow: <<: *defaults - image: ghcr.io/mlflow/mlflow:${MLFLOW_VERSION:-v2.20.2} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}mlflow/mlflow:${MLFLOW_VERSION:-v2.20.2} depends_on: postgres: condition: service_healthy diff --git a/src/netdata/.env.example b/src/netdata/.env.example new file mode 100644 index 0000000..ad4741a --- /dev/null +++ b/src/netdata/.env.example @@ -0,0 +1,11 @@ +# Netdata version +NETDATA_VERSION=v2.8.4 + +# Timezone +TZ=UTC + +# Resource limits +NETDATA_CPU_LIMIT=1.0 +NETDATA_MEMORY_LIMIT=1G +NETDATA_CPU_RESERVATION=0.1 +NETDATA_MEMORY_RESERVATION=256M diff --git a/src/netdata/README.md b/src/netdata/README.md new file mode 100644 index 0000000..9953a57 --- /dev/null +++ b/src/netdata/README.md @@ -0,0 +1,39 @@ +# Netdata + +[English](./README.md) | [中文](./README.zh.md) + +Netdata is a high-performance, real-time monitoring and troubleshooting tool for systems and applications. It provides unparalleled insights into your infrastructure with per-second metrics and interactive visualizations. + +## Services + +- `netdata`: The Netdata Agent (port 19999) + +## Quick Start + +```bash +docker compose up -d +``` + +## Environment Variables + +| Variable Name | Description | Default Value | +| :--------------------------- | :-------------------- | :------------ | +| `NETDATA_VERSION` | Netdata image version | `v2.8.4` | +| `TZ` | Timezone | `UTC` | +| `NETDATA_CPU_LIMIT` | CPU limit | `1.0` | +| `NETDATA_MEMORY_LIMIT` | Memory limit | `1G` | +| `NETDATA_CPU_RESERVATION` | CPU reservation | `0.1` | +| `NETDATA_MEMORY_RESERVATION` | Memory reservation | `256M` | + +Please modify the `.env` file as needed for your use case. + +## Volumes + +- `netdataconfig`: Stores Netdata configuration files +- `netdatalib`: Stores Netdata libraries and databases +- `netdatacache`: Stores Netdata cache files + +## Notes + +- This configuration uses `network_mode: host` to provide full monitoring capabilities of the host system. +- The Netdata dashboard is available at `http://localhost:19999`. diff --git a/src/netdata/README.zh.md b/src/netdata/README.zh.md new file mode 100644 index 0000000..15b6d49 --- /dev/null +++ b/src/netdata/README.zh.md @@ -0,0 +1,39 @@ +# Netdata + +[English](./README.md) | [中文](./README.zh.md) + +Netdata 是一个高性能、实时的系统和应用监控与故障排除工具。它通过每秒的指标和交互式可视化,为您提供对基础设施的无与伦比的洞察力。 + +## 服务 + +- `netdata`: Netdata Agent (端口 19999) + +## 快速开始 + +```bash +docker compose up -d +``` + +## 环境变量 + +| 变量名 | 描述 | 默认值 | +| :--------------------------- | :--------------- | :------- | +| `NETDATA_VERSION` | Netdata 镜像版本 | `v2.8.4` | +| `TZ` | 时区 | `UTC` | +| `NETDATA_CPU_LIMIT` | CPU 限制 | `1.0` | +| `NETDATA_MEMORY_LIMIT` | 内存限制 | `1G` | +| `NETDATA_CPU_RESERVATION` | CPU 预留 | `0.1` | +| `NETDATA_MEMORY_RESERVATION` | 内存预留 | `256M` | + +请根据您的使用情况修改 `.env` 文件。 + +## 数据卷 + +- `netdataconfig`: 存储 Netdata 配置文件 +- `netdatalib`: 存储 Netdata 库和数据库 +- `netdatacache`: 存储 Netdata 缓存文件 + +## 注意事项 + +- 此配置使用 `network_mode: host` 以提供对宿主机的完整监控能力。 +- Netdata 仪表板可通过 `http://localhost:19999` 访问。 diff --git a/src/netdata/docker-compose.yaml b/src/netdata/docker-compose.yaml new file mode 100644 index 0000000..b5d6e93 --- /dev/null +++ b/src/netdata/docker-compose.yaml @@ -0,0 +1,55 @@ +name: netdata + +x-defaults: &defaults + restart: unless-stopped + logging: + driver: json-file + options: + max-size: 100m + max-file: "3" + +services: + netdata: + <<: *defaults + image: ${GLOBAL_REGISTRY:-}netdata/netdata:${NETDATA_VERSION:-v2.8.4} + pid: host + network_mode: host + cap_add: + - SYS_PTRACE + - SYS_ADMIN + security_opt: + - apparmor:unconfined + volumes: + - netdataconfig:/etc/netdata + - netdatalib:/var/lib/netdata + - netdatacache:/var/cache/netdata + - /:/host/root:ro,rslave + - /etc/passwd:/host/etc/passwd:ro + - /etc/group:/host/etc/group:ro + - /etc/localtime:/etc/localtime:ro + - /proc:/host/proc:ro + - /sys:/host/sys:ro + - /etc/os-release:/host/etc/os-release:ro + - /var/log:/host/var/log:ro + - /var/run/docker.sock:/var/run/docker.sock:ro + environment: + - TZ=${TZ:-UTC} + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:19999/api/v1/info"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 10s + deploy: + resources: + limits: + cpus: ${NETDATA_CPU_LIMIT:-1.0} + memory: ${NETDATA_MEMORY_LIMIT:-1G} + reservations: + cpus: ${NETDATA_CPU_RESERVATION:-0.1} + memory: ${NETDATA_MEMORY_RESERVATION:-256M} + +volumes: + netdataconfig: + netdatalib: + netdatacache: diff --git a/src/nexa-sdk/.env.example b/src/nexa-sdk/.env.example index 5de9563..51fbb36 100644 --- a/src/nexa-sdk/.env.example +++ b/src/nexa-sdk/.env.example @@ -1,7 +1,7 @@ # NexaSDK Docker Configuration -# Image version (e.g., v0.2.62, v0.2.62-cuda, latest, latest-cuda) -NEXA_SDK_VERSION=v0.2.62 +# Image version (e.g., v0.2.65, v0.2.65-cuda, latest, latest-cuda) +NEXA_SDK_VERSION=v0.2.65 # Host port for NexaSDK REST API NEXA_SDK_PORT_OVERRIDE=18181 diff --git a/src/nexa-sdk/README.md b/src/nexa-sdk/README.md index 55726f9..89cd844 100644 --- a/src/nexa-sdk/README.md +++ b/src/nexa-sdk/README.md @@ -83,7 +83,7 @@ docker exec -it nexa-sdk nexa infer NexaAI/Granite-4.0-h-350M-NPU | Variable | Description | Default | | ------------------------ | ------------------------- | --------- | -| `NEXA_SDK_VERSION` | NexaSDK image version | `v0.2.62` | +| `NEXA_SDK_VERSION` | NexaSDK image version | `v0.2.65` | | `NEXA_SDK_PORT_OVERRIDE` | Host port for REST API | `18181` | | `NEXA_TOKEN` | Nexa API token (required) | - | | `TZ` | Timezone | `UTC` | diff --git a/src/nexa-sdk/README.zh.md b/src/nexa-sdk/README.zh.md index f197df8..043820d 100644 --- a/src/nexa-sdk/README.zh.md +++ b/src/nexa-sdk/README.zh.md @@ -83,7 +83,7 @@ docker exec -it nexa-sdk nexa infer NexaAI/Granite-4.0-h-350M-NPU | 变量 | 描述 | 默认值 | | ------------------------ | --------------------- | --------- | -| `NEXA_SDK_VERSION` | NexaSDK 镜像版本 | `v0.2.62` | +| `NEXA_SDK_VERSION` | NexaSDK 镜像版本 | `v0.2.65` | | `NEXA_SDK_PORT_OVERRIDE` | REST API 的主机端口 | `18181` | | `NEXA_TOKEN` | Nexa API 令牌(必需) | - | | `TZ` | 时区 | `UTC` | diff --git a/src/nexa-sdk/docker-compose.yaml b/src/nexa-sdk/docker-compose.yaml index 6e24e31..3f6a1ec 100644 --- a/src/nexa-sdk/docker-compose.yaml +++ b/src/nexa-sdk/docker-compose.yaml @@ -15,7 +15,7 @@ services: <<: *defaults profiles: - cpu - image: ${GLOBAL_REGISTRY:-}nexa4ai/nexasdk:${NEXA_SDK_VERSION:-v0.2.62} + image: ${GLOBAL_REGISTRY:-}nexa4ai/nexasdk:${NEXA_SDK_VERSION:-v0.2.65} ports: - "${NEXA_SDK_PORT_OVERRIDE:-18181}:18181" volumes: diff --git a/src/open-webui/docker-compose.yaml b/src/open-webui/docker-compose.yaml index d7da2c2..3923dc1 100644 --- a/src/open-webui/docker-compose.yaml +++ b/src/open-webui/docker-compose.yaml @@ -9,7 +9,7 @@ x-defaults: &defaults services: open_webui: <<: *defaults - image: ghcr.io/open-webui/open-webui:${OPEN_WEBUI_VERSION:-main} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}open-webui/open-webui:${OPEN_WEBUI_VERSION:-main} ports: - "${OPEN_WEBUI_PORT_OVERRIDE:-8080}:8080" volumes: diff --git a/src/pocketbase/docker-compose.yaml b/src/pocketbase/docker-compose.yaml index 788c202..8a77308 100644 --- a/src/pocketbase/docker-compose.yaml +++ b/src/pocketbase/docker-compose.yaml @@ -9,7 +9,7 @@ x-defaults: &defaults services: pocketbase: <<: *defaults - image: ghcr.io/muchobien/pocketbase:${PB_VERSION:-0.30.0} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}muchobien/pocketbase:${PB_VERSION:-0.30.0} environment: TZ: ${TZ:-UTC} # Optional ENCRYPTION (Ensure this is a 32-character long encryption key) diff --git a/src/stable-diffusion-webui-docker/docker-compose.yaml b/src/stable-diffusion-webui-docker/docker-compose.yaml index 0676b9e..dce3fcf 100644 --- a/src/stable-diffusion-webui-docker/docker-compose.yaml +++ b/src/stable-diffusion-webui-docker/docker-compose.yaml @@ -9,7 +9,7 @@ x-defaults: &defaults services: stable-diffusion-webui: <<: *defaults - image: ${GLOBAL_REGISTRY:-}ghcr.io/absolutelyludicrous/sdnext:${SD_WEBUI_VERSION:-latest} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}absolutelyludicrous/sdnext:${SD_WEBUI_VERSION:-latest} ports: - "${SD_WEBUI_PORT_OVERRIDE:-7860}:7860" environment: diff --git a/src/trigger-dev/docker-compose.yaml b/src/trigger-dev/docker-compose.yaml index 5555560..c086af4 100644 --- a/src/trigger-dev/docker-compose.yaml +++ b/src/trigger-dev/docker-compose.yaml @@ -17,7 +17,7 @@ services: webapp: <<: *defaults - image: ${GLOBAL_REGISTRY:-}ghcr.io/triggerdotdev/trigger.dev:${TRIGGER_IMAGE_TAG:-v4.2.0} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}triggerdotdev/trigger.dev:${TRIGGER_IMAGE_TAG:-v4.2.0} ports: - "${TRIGGER_PORT:-8030}:3030" environment: @@ -312,7 +312,7 @@ services: supervisor: <<: *defaults - image: ${GLOBAL_REGISTRY:-}ghcr.io/triggerdotdev/supervisor:${TRIGGER_IMAGE_TAG:-v4.2.0} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}triggerdotdev/supervisor:${TRIGGER_IMAGE_TAG:-v4.2.0} environment: - TZ=${TZ:-UTC} # Required settings diff --git a/src/vllm/docker-compose.yaml b/src/vllm/docker-compose.yaml index de448b7..fa494df 100644 --- a/src/vllm/docker-compose.yaml +++ b/src/vllm/docker-compose.yaml @@ -36,12 +36,10 @@ services: reservations: cpus: ${VLLM_CPU_RESERVATION:-2.0} memory: ${VLLM_MEMORY_RESERVATION:-4G} - # Uncomment for GPU support - # devices: - # - driver: nvidia - # count: 1 - # capabilities: [gpu] - # runtime: nvidia # Uncomment for GPU support + devices: + - driver: nvidia + count: 1 + capabilities: [gpu] shm_size: 4g healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8000/health"] diff --git a/src/windmill/docker-compose.yaml b/src/windmill/docker-compose.yaml index ad65597..fd54f26 100644 --- a/src/windmill/docker-compose.yaml +++ b/src/windmill/docker-compose.yaml @@ -37,7 +37,7 @@ x-defaults: &defaults services: windmill-server: <<: *defaults - image: ghcr.io/windmill-labs/windmill:${WINDMILL_VERSION:-main} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}windmill-labs/windmill:${WINDMILL_VERSION:-main} container_name: windmill-server ports: - "${WINDMILL_PORT_OVERRIDE:-8000}:8000" @@ -82,7 +82,7 @@ services: windmill-worker: <<: *defaults - image: ghcr.io/windmill-labs/windmill:${WINDMILL_VERSION:-main} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}windmill-labs/windmill:${WINDMILL_VERSION:-main} container_name: windmill-worker environment: # Database configuration @@ -143,7 +143,7 @@ services: # Optional: LSP service for code intelligence windmill-lsp: <<: *defaults - image: ghcr.io/windmill-labs/windmill-lsp:${WINDMILL_LSP_VERSION:-latest} + image: ${GHCR_IO_REGISTRY:-ghcr.io/}windmill-labs/windmill-lsp:${WINDMILL_LSP_VERSION:-latest} container_name: windmill-lsp profiles: - dev