Agree. Let's provide the minimal parameters which are required, while user can customize parameters which meet their needs.
-- Zhang Yonglun Apache ShenYu (Incubating) Apache ShardingSphere nuoyan <nuo...@apache.org> 于2021年11月11日周四 下午5:30写道: > I think these three configurations are a bit system-specific (Linux). > Considering that the systems using our products may be other systems, it > may be possible to consider not adding them. If you need these features for > your production environment, you can do it yourself. > > Zhang Yonglun <zhangyong...@apache.org> 于2021年11月11日周四 上午11:57写道: > > > The docker deployment doc can be found here: > > https://shenyu.apache.org/docs/deployment/deployment-docker/ > > > > -- > > > > Zhang Yonglun > > Apache ShenYu (Incubating) > > Apache ShardingSphere > > > > > > Zhang Yonglun <zhangyong...@apache.org> 于2021年11月11日周四 上午11:18写道: > > > > > 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 > > > > > >