config挂载

This commit is contained in:
2025-11-24 12:59:51 +08:00
parent 07bd166257
commit ac8658b23a
8 changed files with 7 additions and 1498 deletions

View File

@@ -17,7 +17,8 @@ services:
volumes:
# 数据持久化
- mysql-data:/var/lib/mysql
# 配置文件(可选覆盖
# 自定义配置文件(可选,取消注释以启用
# 如需自定义MySQL配置取消下面的注释并修改mysql/my.cnf
# - ./mysql/my.cnf:/etc/mysql/conf.d/my.cnf
command:
- --character-set-server=utf8mb4