feat: add ${GLOBAL_REGISTRY} for change docker image

This commit is contained in:
Sun-ZhenXing
2025-11-05 20:26:14 +08:00
parent 373cc3cdd6
commit a65a009640
127 changed files with 203 additions and 204 deletions

View File

@@ -1,8 +1,8 @@
# Docker Registry 镜像地址(可选)
# Docker registry
DOCKER_REGISTRY=docker.io
# 构建版本
BUILD_VERSION=latest
# Build version
BUILD_VERSION=1.6.0
# Hugging Face 镜像端点(可选,用于中国大陆用户)
# Hugging Face Endpoint, optional for China users
# HF_ENDPOINT=https://hf-mirror.com

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
lama-cleaner:
<<: *defaults
image: ${DOCKER_REGISTRY:-docker.io}/local/lama-cleaner:${BUILD_VERSION:-latest}
image: ${DOCKER_REGISTRY:-docker.io}/local/lama-cleaner:${BUILD_VERSION:-1.6.0}
ports:
- 8080:8080
build:
@@ -17,7 +17,7 @@ services:
dockerfile: Dockerfile
environment:
TZ: ${TZ:-UTC}
# HF_ENDPOINT: https://hf-mirror.com
HF_ENDPOINT: ${HF_ENDPOINT:-}
volumes:
- ./models:/root/.cache
command: