diff --git a/docker/docker-compose/cluster-with-etcd.yaml b/docker/docker-compose/cluster-with-etcd.yaml index 6491bdeac1..e7794662a8 100644 --- a/docker/docker-compose/cluster-with-etcd.yaml +++ b/docker/docker-compose/cluster-with-etcd.yaml @@ -1,9 +1,9 @@ x-custom: etcd_initial_cluster_token: &etcd_initial_cluster_token "--initial-cluster-token=etcd-cluster" etcd_common_settings: &etcd_common_settings - image: quay.io/coreos/etcd:v3.5.10 + image: "${ETCD_REGISTRY:-quay.io}/${ETCD_NAMESPACE:-coreos}/etcd:${ETCD_VERSION:-v3.5.10}" entrypoint: /usr/local/bin/etcd - greptimedb_image: &greptimedb_image docker.io/greptimedb/greptimedb:latest + greptimedb_image: &greptimedb_image "${GREPTIMEDB_REGISTRY:-docker.io}/${GREPTIMEDB_NAMESPACE:-greptime}/greptimedb:${GREPTIMEDB_VERSION:-latest}" services: etcd0: