DTStack / chengying

一款支持标准化schema定义、自动化部署产品包的软件,旨在对产品包下每个服务进行部署、升级、卸载、配置等操作,解放人工运维成本。
Apache License 2.0
201 stars 69 forks source link

config_paths挂载文件前台无法显示内容 #38

Open geyaandy opened 1 year ago

geyaandy commented 1 year ago

在schema里面设置了config_paths 文件路径,前台选择这个文件无法显示出来,显示『无』 我理解这个功能是提供一个前台可修改挂载配置文件的地方,但是我选择文件后就提示无,我不知道问题在哪里,

image

下面是我的schema配置文件

parent_product_name: Base product_name: ActiveMQ product_name_display: ActiveMQ product_version: 5.18.0-arm-1 service: ActiveMQ: service_display: ActiveMQ version: 5.18.0 instance: cmd: ./bin/start.sh ${api_port} ${api_user} ${api_password} ${web_port} ${web_user} ${web_password} ${disallow_web} post_deploy: ./bin/post_deploy.sh config_paths:

wangqi811 commented 1 year ago

这个地方需要在mero之前将对应服务里的配置文件中需要提取的字段使用{{.xx}}方式配置才会显示,比如提取api_port,在users.properties中需要改成{{.api_port}}

geyaandy commented 1 year ago

这个地方需要在mero之前将对应服务里的配置文件中需要提取的字段使用{{.xx}}方式配置才会显示,比如提取api_port,在users.properties中需要改成{{.api_port}}

好的,已经摸索出来了,感谢!

zhanglingxing commented 5 months ago

默认密码是多少 求告知