mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
build(xiaozhi-esp32-server-db): 将 MySQL镜像版本指定为 8.4.5
- 修改 docker-compose_all.yml 文件中 xiaozhi-esp32-server-db服务的镜像版本 -从使用最新版本 (latest)改为使用特定版本 (8.4.5) - 这样做可以确保环境一致性,避免由于 MySQL 升级导致的潜在兼容性问题
This commit is contained in:
parent
2fe8d8d490
commit
795432c47c
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ services:
|
||||||
- ./uploadfile:/app/uploadfile
|
- ./uploadfile:/app/uploadfile
|
||||||
|
|
||||||
xiaozhi-esp32-server-db:
|
xiaozhi-esp32-server-db:
|
||||||
image: mysql:latest
|
image: mysql:8.4.5
|
||||||
container_name: xiaozhi-esp32-server-db
|
container_name: xiaozhi-esp32-server-db
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
|
test: [ "CMD", "mysqladmin" ,"ping", "-h", "localhost" ]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue