Skip to content

docker容器部署配置文件挂载路径不生效 #472

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

Open
KaKitHiya opened this issue Jan 24, 2025 · 0 comments
Open

docker容器部署配置文件挂载路径不生效 #472

KaKitHiya opened this issue Jan 24, 2025 · 0 comments

Comments

@KaKitHiya
Copy link

根据官方文档的介绍,app.conf配置文件路径应该是在conf/app.conf,但经过多次挂载后发现该配置在该路径下是无法生效的;
最后查看文档,发现配置文件需要在 /app/conf/app.conf 路径才可以生效;其次记录告警记录的问题,配置文件生效后,在mysql内可以看到自定义模板的数据信息,但告警数据库依然是空值,需要再看源码+测试

mysql> show tables;
+---------------------------+
| Tables_in_prometheusalert |
+---------------------------+
| alert_record |
| alert_router |
| prometheus_alert_d_b |
+---------------------------+

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

1 participant