You've already forked DataMate
chore(gateway): 移除Dockerfile中的离线模式参数
- 移除了mvn命令中的-o参数,允许在线下载依赖包 - 优化了编译过程以支持网络连接场景下的依赖管理
This commit is contained in:
2
Makefile
2
Makefile
@@ -13,7 +13,7 @@ SAVE ?= false # Default: only pull images, don't save to dist/
|
||||
ifdef dev
|
||||
REGISTRY :=
|
||||
else
|
||||
REGISTRY ?= ghcr.io/modelengine-group/
|
||||
REGISTRY ?= ghcr.nju.edu.cn/modelengine-group/
|
||||
endif
|
||||
|
||||
ifdef COMSPEC
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
global:
|
||||
namespace: datamate
|
||||
image:
|
||||
repository: "ghcr.io/modelengine-group/"
|
||||
repository: "ghcr.nju.edu.cn/modelengine-group/"
|
||||
pullPolicy: "IfNotPresent"
|
||||
backend:
|
||||
name: "datamate-backend"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
global:
|
||||
image:
|
||||
repository: "ghcr.io/modelengine-group/"
|
||||
repository: "ghcr.nju.edu.cn/modelengine-group/"
|
||||
pullPolicy: "IfNotPresent"
|
||||
backend:
|
||||
name: "deer-flow-backend"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
image:
|
||||
registry: ghcr.io
|
||||
registry: ghcr.nju.edu.cn
|
||||
repository: prometheus-community/windows-exporter
|
||||
# Overrides the image tag whose default is {{ printf "v%s" .Chart.AppVersion }}
|
||||
tag: ""
|
||||
|
||||
@@ -10,7 +10,7 @@ extraArgs: []
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: ghcr.io/huggingface/text-embeddings-inference
|
||||
repository: ghcr.nju.edu.cn/huggingface/text-embeddings-inference
|
||||
tag: cpu-1.6
|
||||
pullPolicy: IfNotPresent
|
||||
imagePullSecrets: []
|
||||
|
||||
@@ -1375,7 +1375,7 @@ tei:
|
||||
enabled: false
|
||||
name: text-embeddings-inference
|
||||
image:
|
||||
repository: ghcr.io/huggingface/text-embeddings-inference
|
||||
repository: ghcr.nju.edu.cn/huggingface/text-embeddings-inference
|
||||
tag: cpu-1.6
|
||||
pullPolicy: IfNotPresent
|
||||
service:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
FROM ghcr.io/astral-sh/uv:python3.12-bookworm
|
||||
FROM ghcr.nju.edu.cn/astral-sh/uv:python3.12-bookworm
|
||||
|
||||
# Install uv.
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
|
||||
COPY --from=ghcr.nju.edu.cn/astral-sh/uv:latest /uv /bin/uv
|
||||
|
||||
# 配置 apt 阿里云镜像源并安装系统依赖
|
||||
RUN if [ -f /etc/apt/sources.list.d/debian.sources ]; then \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ghcr.io/astral-sh/uv:python3.11-bookworm
|
||||
FROM ghcr.nju.edu.cn/astral-sh/uv:python3.11-bookworm
|
||||
|
||||
# 配置 apt 阿里云镜像源
|
||||
RUN --mount=type=cache,target=/var/cache/apt \
|
||||
|
||||
Reference in New Issue
Block a user