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

@@ -127,7 +127,7 @@ To add more worker nodes, add new service definitions:
```yaml
ray-worker-3:
<<: *defaults
image: rayproject/ray:${RAY_VERSION:-2.42.1-py312}
image: ${GLOBAL_REGISTRY:-}rayproject/ray:${RAY_VERSION:-2.42.1-py312}
container_name: ray-worker-3
command: ray start --address=ray-head:6379 --block
depends_on:

View File

@@ -127,7 +127,7 @@ print(result)
```yaml
ray-worker-3:
<<: *defaults
image: rayproject/ray:${RAY_VERSION:-2.42.1-py312}
image: ${GLOBAL_REGISTRY:-}rayproject/ray:${RAY_VERSION:-2.42.1-py312}
container_name: ray-worker-3
command: ray start --address=ray-head:6379 --block
depends_on:

View File

@@ -9,7 +9,7 @@ x-defaults: &defaults
services:
ray-head:
<<: *defaults
image: rayproject/ray:${RAY_VERSION:-2.42.1-py312}
image: ${GLOBAL_REGISTRY:-}rayproject/ray:${RAY_VERSION:-2.42.1-py312}
command: ray start --head --dashboard-host=0.0.0.0 --port=6379 --block
ports:
- "${RAY_DASHBOARD_PORT_OVERRIDE:-8265}:8265"
@@ -38,7 +38,7 @@ services:
ray-worker-1:
<<: *defaults
image: rayproject/ray:${RAY_VERSION:-2.42.1-py312}
image: ${GLOBAL_REGISTRY:-}rayproject/ray:${RAY_VERSION:-2.42.1-py312}
command: ray start --address=ray-head:6379 --block
depends_on:
ray-head:
@@ -58,7 +58,7 @@ services:
ray-worker-2:
<<: *defaults
image: rayproject/ray:${RAY_VERSION:-2.42.1-py312}
image: ${GLOBAL_REGISTRY:-}rayproject/ray:${RAY_VERSION:-2.42.1-py312}
command: ray start --address=ray-head:6379 --block
depends_on:
ray-head: