civism opened a new issue #2308:
URL: https://github.com/apache/incubator-shenyu/issues/2308


   ### Question
   
   选择mysql为数据库
   问题一:
   `docker run -v ${your_work_dir}/conf:/opt/shenyu-admin/conf/ -v 
/${your_work_dir}/ext-lib:/opt/shenyu-admin/ext-lib -d -p 9095:9095 --net 
shenyu apache/shenyu-admin`   
这个当中有一个错误,第一个挂载-v后面的目录多了一个/结尾,导致第一次挂在出现host_mnt,改成`docker run -v 
${your_work_dir}/conf:/opt/shenyu-admin/conf -v 
/${your_work_dir}/ext-lib:/opt/shenyu-admin/ext-lib -d -p 9095:9095 --net 
shenyu apache/shenyu-admin` 成功启动
   问题二:
   加载我挂载目录下面的application.yml,但是启动的服务并没有选择mysql,而是h2
   问题三:
   shenyu-admin.log与shenyu-admin-error.log 并没有放入到logs文件夹中,导致挂载看不到日志


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to