feat: add ${GLOBAL_REGISTRY} for change docker image
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user