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


   ### Description
   
   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 
   1. -v /etc/localtime:/etc/localtime:ro 
   1. --restart=always
   
   Are these parameters right? Any more parameters should be added?
   
   ### Task List
   
   _No response_


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