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

添加mongo-gui,在用户管理面板实现之前,实现对用户的暂时管理 #10

Merged
merged 1 commit into from
Mar 28, 2023

Conversation

LuckyWang6
Copy link
Contributor

image

@LuckyWang6
Copy link
Contributor Author

mongo-express:
image: mongo-express
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_URL: mongodb://chatgpt:xxxx@database:27017
或者这个容器也可以,看个人喜好

@socosfly
Copy link

截屏2023-03-28 01 07 22

连接数据库有问题,怎么解决?

@LuckyWang6
Copy link
Contributor Author

截屏2023-03-28 01 07 22 连接数据库有问题,怎么解决?

      - MONGO_URL=mongodb://chatgpt:xxxx@database:27017是和上面的一样的

@Kerwin1202 Kerwin1202 merged commit 3c566ae into chatgpt-web-dev:main Mar 28, 2023
@socosfly
Copy link

截屏2023-03-28 01 07 22 连接数据库有问题,怎么解决?

      - MONGO_URL=mongodb://chatgpt:xxxx@database:27017是和上面的一样的

重来一次没问题了,多谢

@xixingya
Copy link

xixingya commented Apr 1, 2023

hello,我在railway部署的时候,遇到了这个问题,能否帮忙解答一下const timeoutError = new error_1.MongoServerSelectionError(Server selection timed out after ${serverSelectionTimeoutMS} ms, this.description);
^
MongoServerSelectionError: getaddrinfo ENOTFOUND database
at Timeout._onTimeout (/app/node_modules/.pnpm/[email protected]/node_modules/mongodb/lib/sdam/topology.js:277:38)
at listOnTimeout (node:internal/timers:569:17)
at process.processTimers (node:internal/timers:512:7) {
reason: TopologyDescription {
type: 'Unknown',
servers: Map(1) {
'database:27017' => ServerDescription {
address: 'database:27017',
type: 'Unknown',
hosts: [],

@xixingya
Copy link

xixingya commented Apr 1, 2023

@luckywangxi

@tzf1003
Copy link

tzf1003 commented Apr 5, 2023

@luckywangxi @Kerwin1202
BUG:邮件发送后,如果重新点注册会提示邮箱已存在。点击登陆时页无法登陆,这个账号将陷入不可操作状态,也无法重新发送邮件
image
image

因为邮件发送很容易失败,所以希望在注册时加个功能,即重新发送验证邮件,验证通过后再写入数据库,避免出现 “卡账号”等现象。

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

Successfully merging this pull request may close these issues.

5 participants