From 795432c47c2a93dbfb87579ee96daa5bb1af26c8 Mon Sep 17 00:00:00 2001 From: whosmyqueen <644049260@qq.com> Date: Mon, 28 Apr 2025 19:39:22 +0800 Subject: [PATCH] =?UTF-8?q?build(xiaozhi-esp32-server-db):=20=E5=B0=86=20M?= =?UTF-8?q?ySQL=E9=95=9C=E5=83=8F=E7=89=88=E6=9C=AC=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E4=B8=BA=208.4.5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改 docker-compose_all.yml 文件中 xiaozhi-esp32-server-db服务的镜像版本 -从使用最新版本 (latest)改为使用特定版本 (8.4.5) - 这样做可以确保环境一致性,避免由于 MySQL 升级导致的潜在兼容性问题 --- main/xiaozhi-server/docker-compose_all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/docker-compose_all.yml b/main/xiaozhi-server/docker-compose_all.yml index f95bb1cb6..68b11c0f0 100644 --- a/main/xiaozhi-server/docker-compose_all.yml +++ b/main/xiaozhi-server/docker-compose_all.yml @@ -52,7 +52,7 @@ services: - ./uploadfile:/app/uploadfile xiaozhi-esp32-server-db: - image: mysql:latest + image: mysql:8.4.5 container_name: xiaozhi-esp32-server-db healthcheck: test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]