chengying icon indicating copy to clipboard operation
chengying copied to clipboard

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

Open geyaandy opened this issue 1 year ago • 3 comments

在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: - conf/activemq.xml - conf/users.properties logs: - data/activemq.log update_recreate: true prometheus_port: 9104 config: api_port: 61616 api_user: admin api_password: 'admin@123' web_port: 8161 web_user: admin web_password: 'admin@123' disallow_web: "false"

geyaandy avatar Sep 01 '23 01:09 geyaandy

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

wangqi811 avatar Sep 07 '23 01:09 wangqi811

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

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

geyaandy avatar Sep 07 '23 03:09 geyaandy

默认密码是多少 求告知

zhanglingxing avatar Apr 28 '24 07:04 zhanglingxing