apache/shenyu-admin

Sponsored OSS

By The Apache Software Foundation

Updated 6 days ago

shenyu-admin is apache shenyu gateway backend management system, you can control the traffic on it.

Image
Security
API management
Monitoring & observability
3

100K+

apache/shenyu-admin repository overview


What is Apache ShenYu

Apache ShenYu dynamic full lifecycle JAVA API gateway with easy scalability and hot-pluggble features.


Apache ShenYu Admin Features

  • Complete user rights management.

  • Dynamic Management plugin, selector, rule for traffic.


Quick Start

NOTE: A simpler deployment method is to use docker-compose, you can refer to: https://shenyu.apache.org/docs/next/deployment/deployment-docker-compose .

Run Apache ShenYu Admin
> docker pull apache/shenyu-admin:${current.version}
> docker network create shenyu
  • use h2 to store data:
> docker run -d -p 9095:9095 --net shenyu apache/shenyu-admin:${current.version}
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.ymlapplication-mysql.ymlapplication-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}
  • use 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}

License

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

Tag summary

Content type

Image

Digest

sha256:989e42a59

Size

297.3 MB

Last updated

6 days ago

docker pull apache/shenyu-admin:2.7.0.3

This week's pulls

Pulls:

93

Last week