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

请问docker一键部署都还需要单独起MongoDB服务吗 #20

Closed
Zohar727 opened this issue May 29, 2020 · 4 comments
Closed

请问docker一键部署都还需要单独起MongoDB服务吗 #20

Zohar727 opened this issue May 29, 2020 · 4 comments

Comments

@Zohar727
Copy link

现在进去提示以下信息:
0: "启动引导服务..."
1: "写入配置..."
2: "等待 MongoDB 服务可用..."

@fjc0k
Copy link
Owner

fjc0k commented May 29, 2020

纯粹的 docker 镜像就一个 yapi 啊,至于数据库,你必须手动提供。当然你可以使用 play 版,它自带数据库,具体看首页文档。

@fjc0k
Copy link
Owner

fjc0k commented May 29, 2020

哦哦哦,这是 yapi-x 呀,如果是 docker-YApi,它提供了 play 版,自带数据库。YApi-X 没有 play 版。

@Zohar727
Copy link
Author

纯粹的 docker 镜像就一个 yapi 啊,至于数据库,你必须手动提供。当然你可以使用 play 版,它自带数据库,具体看首页文档。

刚接触docker, 懂了谢谢哈

@fjc0k fjc0k closed this as completed May 30, 2020
@asher-1995
Copy link

asher-1995 commented May 17, 2024

手动提供数据库,那么你的compose里为什么还要启动一个mongo服务

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

3 participants