apolloconfig / apollo-quick-start

Apollo Quick Start
692 stars 1.85k forks source link

docker快速部署想使用自己的mysql #56

Closed xxdyu closed 3 years ago

xxdyu commented 4 years ago

我如何是使用后外部的数据库 不启动mysql容器 使用外部的mysql导入里面的sql语句 我改了改把mysql链接替换到demo.sh脚本,项目就启动不了

nobodyiam commented 4 years ago

看下具体的错误信息吧

xxdyu commented 4 years ago

Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.

nobodyiam commented 4 years ago

@wanghuashun 需要配置下数据库的访问信息,可以参考下面的脚本

https://github.com/nobodyiam/apollo-build-scripts/blob/99667c59ff845a0defe1d3a5421c6789ed3f423b/Dockerfile#L24

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had activity in the last 21 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.