Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修改登录默认密码重启完所有容器web登录还是默认密码 #32

Open
N4ick opened this issue May 26, 2022 · 2 comments
Open

Comments

@N4ick
Copy link

N4ick commented May 26, 2022

你好,那个我启动好服务端和客户端,然后登录web修改默认密码,然后docker-compose restart 全部重启容器,登录又是默认密码,所以只要不重启服务端,扫描和修改的登陆密码数据一直在,往后在使用过程当中导致服务端重启或者关机开机,那就是所有数据都没有了,那在扫描当中,产生的bug或者报错不得已重启服务端怎么办,数据都没了。

@SiJiDo
Copy link
Owner

SiJiDo commented May 27, 2022

程序在启动时会运行一个sh脚本,里面会配置数据库,可能重启的时候导致该文件重新加载了,我后续优化一下

@N4ick
Copy link
Author

N4ick commented May 27, 2022

image
是init.sh这个sh脚本吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants