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

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

Open
geyaandy opened this issue Sep 1, 2023 · 3 comments
Open

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

geyaandy opened this issue Sep 1, 2023 · 3 comments

Comments

@geyaandy
Copy link

geyaandy commented Sep 1, 2023

在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"

@wangqi811
Copy link
Collaborator

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

@geyaandy
Copy link
Author

geyaandy commented Sep 7, 2023

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

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

@zhanglingxing
Copy link

默认密码是多少 求告知

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