修改镜像中的配置文件
chengtm opened this issue · 2 comments
chengtm commented
我们根据
https://peter_zhang921.gitee.io/cboard_docsify/#/zh-cn/manual/install
链接里面的从docker开始,搭建起cboard了,也能访问。现在,我们需要配置邮箱,想定时发送报表,不知道怎么修改配置,找不到配置文件。
yzhang921 commented
可以attach镜像修改config.properties,或者自己重建镜像
chengtm commented
找到配置文件了,改了mail的配置,发送报错:
java.lang.NullPointerException at org.cboard.services.persist.excel.XlsProcessService.dashboardToXls(XlsProcessService.java:83) at org.cboard.services.persist.excel.XlsProcessService.dashboardToXls(XlsProcessService.java:34) at org.cboard.services.MailService.sendDashboard(MailService.java:79) at org.cboard.services.job.JobService.sendMail(JobService.java:90) at org.cboard.services.job.JobService.lambda$exec$0(JobService.java:149) at java.lang.Thread.run(Thread.java:748)