Azerothcore-Docker .env MySQL密码不起作用

问题描述

最初是通过github问题问到的:
https://github.com/azerothcore/azerothcore-wotlk/issues/3527

./.env.dist文件复制到./.env并更改MysqL数据库的密码时,在容器启动并运行后,密码仍设置为“ password”。

按照docker安装指南在这里
https://www.azerothcore.org/wiki/Install-with-Docker

这样做应该更改MysqL数据库的密码。

我尝试了以下操作:

docker rm $(docker ps -aq)
docker rmi $(docker images -q)
docker system prune

但仍然没有运气。我已经使用备份中较旧版本的仓库进行了尝试,并且可以正常工作。

解决方法

ac数据库泊坞窗有一个永久卷。这是我会尝试的方法:

docker-compose stop
docker-compose down
docker system prune
docker system prune --volumes