update: 基础组件镜像改用 iotlcm 命名空间

阿里云企业版 ACR 的命名空间须在控制台预先创建,library 不存在。
统一放到已存在的 iotlcm 命名空间,与业务镜像同处一处:

  <REGISTRY>/iotlcm/mysql:8.0
  <REGISTRY>/iotlcm/redis:7.2
  <REGISTRY>/iotlcm/rabbitmq:4.3.5-management
  <REGISTRY>/iotlcm/consul:1.22
  <REGISTRY>/iotlcm/nginx:1.30

已实测推送成功。
This commit is contained in:
MiFaZhan
2026-10-29 14:44:56 +08:00
parent fd72d088fc
commit 4d43238c63
+6 -6
View File
@@ -18,8 +18,8 @@ name: iotlcm
services: services:
# ---------------- 基础组件 ---------------- # ---------------- 基础组件 ----------------
mysql: mysql:
# 基础组件统走同一镜像仓库(`<REGISTRY>/library/`),版本在 .env 里固定 # 基础组件统走同一镜像仓库(`<REGISTRY>/iotlcm/`),版本在此固定
image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/library/mysql:8.0' image: 'crpi-qflrqrxoohlkkvgc.cn-chengdu.personal.cr.aliyuncs.com/iotlcm/mysql:8.0'
container_name: iotlcm-mysql container_name: iotlcm-mysql
restart: always restart: always
ports: ports:
@@ -46,7 +46,7 @@ services:
start_period: 40s start_period: 40s
redis: 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 container_name: iotlcm-redis
restart: always restart: always
ports: ports:
@@ -70,7 +70,7 @@ services:
retries: 5 retries: 5
rabbitmq: 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 container_name: iotlcm-rabbitmq
hostname: rabbitmq hostname: rabbitmq
restart: always restart: always
@@ -93,7 +93,7 @@ services:
start_period: 30s start_period: 30s
consul: 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 container_name: iotlcm-consul
restart: always restart: always
ports: ports:
@@ -371,7 +371,7 @@ services:
# 若宿主机已有 nginx / 面板,可不启动本容器, # 若宿主机已有 nginx / 面板,可不启动本容器,
# 参考 config.example/nginx/iotlcm.conf 把 location 段落到宿主机配置。 # 参考 config.example/nginx/iotlcm.conf 把 location 段落到宿主机配置。
nginx: 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 container_name: iotlcm-nginx
restart: always restart: always
ports: ports: