shenyu-admin is apache shenyu gateway backend management system, you can control the traffic on it.
100K+
Apache ShenYu dynamic full lifecycle JAVA API gateway with easy scalability and hot-pluggble features.
Complete user rights management.
Dynamic Management plugin, selector, rule for traffic.
NOTE: A simpler deployment method is to use docker-compose, you can refer to: https://shenyu.apache.org/docs/next/deployment/deployment-docker-compose .
> docker pull apache/shenyu-admin:${current.version}
> docker network create shenyu
h2 to store data:> docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin:${current.version}
MySQL to store data, copy mysql-connector.jar to /$(your_work_dir)/ext-lib: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:${current.version}
another way is to put the application.yml、application-mysql.yml、application-pg.yml configuration in ${your_work_dir}/conf from Configure address , and then execute the following statement:
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:${current.version}
PostgreSql to store data, execute the following statement:docker run -e "SPRING_PROFILES_ACTIVE=pg" -e "spring.datasource.url=jdbc:postgresql://${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:${current.version}
another way is to put the application.yml configuration in ${your_work_dir}/conf, and then execute the following statement:
docker run -v ${your_work_dir}/conf:/opt/shenyu-admin/conf -d -p 9095:9095 --net shenyu apache/shenyu-admin:${current.version}
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Content type
Image
Digest
sha256:989e42a59…
Size
297.3 MB
Last updated
6 days ago
docker pull apache/shenyu-admin:2.7.0.3Pulls:
93
Last week