go-kratos / kratos-layout

Kratos Project Template
http://go-kratos.dev
MIT License
402 stars 205 forks source link

-conf 是否支持多个指定文件,而非直接指这目录 #137

Closed langfengac closed 9 months ago

langfengac commented 1 year ago

是否可以类似集成的概念? base.yaml config.yaml > base.yaml config.dev.yaml > base.yaml

这样我可以不同的环境,使用不同的config,让我的代码闭环发布。 且不用重复的出现相同的配置

shenqidebaozi commented 1 year ago

kratos-layout is just a project template that you can modify according to your preferences

dosubot[bot] commented 9 months ago

Hi, @langfengac! I'm Dosu, and I'm here to help the kratos-layout team manage their backlog. I wanted to let you know that we are marking this issue as stale.

From what I understand, you raised an issue discussing the possibility of supporting multiple files instead of just a directory for the -conf option. You proposed a hierarchical approach to allow different environments to use different configurations without duplicating settings. The only activity on the issue so far is a comment from shenqidebaozi, who mentioned that "kratos-layout" is a project template that can be customized.

Before we close this issue, we wanted to check with you if it is still relevant to the latest version of the kratos-layout repository. If it is, please let us know by commenting on the issue. Otherwise, feel free to close the issue yourself, or it will be automatically closed in 7 days.

Thank you for your contribution, and we look forward to hearing from you soon!