From 4d43238c63a0d4f3f7ef6d69bb4c0daf00343102 Mon Sep 17 00:00:00 2001 From: MiFaZhan Date: Thu, 29 Oct 2026 14:44:56 +0800 Subject: [PATCH] =?UTF-8?q?update:=20=E5=9F=BA=E7=A1=80=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=94=B9=E7=94=A8=20iotlcm=20=E5=91=BD?= =?UTF-8?q?=E5=90=8D=E7=A9=BA=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 阿里云企业版 ACR 的命名空间须在控制台预先创建,library 不存在。 统一放到已存在的 iotlcm 命名空间,与业务镜像同处一处: /iotlcm/mysql:8.0 /iotlcm/redis:7.2 /iotlcm/rabbitmq:4.3.5-management /iotlcm/consul:1.22 /iotlcm/nginx:1.30 已实测推送成功。 --- docker-compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1c7f860..214ccc0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,8 +18,8 @@ name: iotlcm services: # ---------------- 基础组件 ---------------- mysql: - # 基础组件统走同一镜像仓库(`/library/`),版本在 .env 里固定 - image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/library/mysql:8.0' + # 基础组件统走同一镜像仓库(`/iotlcm/`),版本在此固定 + image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/iotlcm/mysql:8.0' container_name: iotlcm-mysql restart: always ports: @@ -46,7 +46,7 @@ services: start_period: 40s redis: - image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/library/redis:7.2' + image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/iotlcm/redis:7.2' container_name: iotlcm-redis restart: always ports: @@ -70,7 +70,7 @@ services: retries: 5 rabbitmq: - image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/library/rabbitmq:4.3.5-management' + image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/iotlcm/rabbitmq:4.3.5-management' container_name: iotlcm-rabbitmq hostname: rabbitmq restart: always @@ -93,7 +93,7 @@ services: start_period: 30s consul: - image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/library/consul:1.22' + image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/iotlcm/consul:1.22' container_name: iotlcm-consul restart: always ports: @@ -371,7 +371,7 @@ services: # 若宿主机已有 nginx / 面板,可不启动本容器, # 参考 config.example/nginx/iotlcm.conf 把 location 段落到宿主机配置。 nginx: - image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/library/nginx:1.30' + image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/iotlcm/nginx:1.30' container_name: iotlcm-nginx restart: always ports: