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

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
kodbox:
<<: *defaults
image: kodcloud/kodbox:${KODBOX_VERSION:-1.62}
image: ${GLOBAL_REGISTRY:-}kodcloud/kodbox:${KODBOX_VERSION:-1.62}
ports:
- "${KODBOX_PORT:-80}:80"
volumes:
@@ -46,7 +46,7 @@ services:
kodbox-db:
<<: *defaults
image: mysql:${MYSQL_VERSION:-9.4.0}
image: ${GLOBAL_REGISTRY:-}mysql:${MYSQL_VERSION:-9.4.0}
environment:
- TZ=${TZ:-UTC}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root123}
@@ -76,7 +76,7 @@ services:
kodbox-redis:
<<: *defaults
image: redis:${REDIS_VERSION:-8.2.1-alpine3.22}
image: ${GLOBAL_REGISTRY:-}redis:${REDIS_VERSION:-8.2.1-alpine3.22}
command:
- redis-server
- --requirepass