Hi,

The commands now like:

   -

   docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin
   -

   docker run -v /${your_work_dir}/ext-lib:/opt/shenyu-admin/ext-lib -e
   "SPRING_PROFILES_ACTIVE=mysql" -e
   
"spring.datasource.url=jdbc:mysql://${your_ip_port}/shenyu?useUnicode=true&characterEncoding=utf-8&useSSL=false"
   -e "spring.datasource.username=${your_username}" -e
   "spring.datasource.password=${your_password}" -d -p 9095:9095 --net shenyu
   apache/shenyu-admin
   -

   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

I would suggest we add paramenters to make the commands more available like:

   1. --privileged=true
   2. -v /etc/localtime:/etc/localtime:ro
   3. --restart=always

Are these parameters right? Any more parameters should be added? Please
feel free to leave your comments.
I have also created a GitHub issue, please refer to:
https://github.com/apache/incubator-shenyu/issues/2337

--

Zhang Yonglun
Apache ShenYu (Incubating)
Apache ShardingSphere

Reply via email to