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

@@ -8,7 +8,7 @@ x-defaults: &defaults
x-mongo: &mongo
<<: *defaults
image: mongo:${MONGO_VERSION:-8.0.13}
image: ${GLOBAL_REGISTRY:-}mongo:${MONGO_VERSION:-8.0.13}
environment:
TZ: ${TZ:-UTC}
MONGO_INITDB_ROOT_USERNAME: ${MONGO_INITDB_ROOT_USERNAME:-root}
@@ -51,7 +51,7 @@ services:
mongo-init:
<<: *defaults
image: mongo:${MONGO_VERSION:-8.0.13}
image: ${GLOBAL_REGISTRY:-}mongo:${MONGO_VERSION:-8.0.13}
restart: on-failure
depends_on:
mongo1: