Skip to content

ywengineer/apache-shenyu-admin-dockerfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apache ShenYu Admin dockerfile

Apache Shenyu admin dockerfile

Enviroment Vars

Name Type Description Default Value
USE_CMS Enum('y','n') use CMS garbage collector n
JVM_XMS String JVM arg -Xms 1g
JVM_XMX String JVM arg -Xmx 1g
JVM_XMN String JVM arg -Xmn 512m
JVM_MS String JVM arg -XX:MetaspaceSize 128m
JVM_MMS String JVM arg -XX:MaxMetaspaceSize 128m
JVM_DEBUG Enum('y','n') JVM arg -Xdebug n
JMX_ENABLE Enum('y','n') enable JMX n
JMX_HOST String JMX listen host when enabled 0.0.0.0
TIME_ZONE String system timezone Asia/Shanghai
LISTEN_PORT Integer soul listen port 9095
MYSQL_HOST String MySQL database host localhost
MYSQL_PORT Integer MySQL database listen port 3306
MYSQL_DB String MySQL database name soul
MYSQL_USER String MySQL database user root
MYSQL_PASSWORD String MySQL database user's password root
REGISTER_TYPE String soul register type. only support http and nacos http
NACOS_SERVER_ADDRS String nacos server address list when register type is nacos. example:host:port,host:port none
NACOS_NAMESPACE String nacos namespace when register type is nacos. none

docker-compose.yml

version: '3.8'
services:
  shenyu_admin:
    image: ywengineer/soul-docker:shenyu-admin-2.4.0
    container_name: shenyu_admin
    external_links:
      - mysql
    restart: always
    ports:
      - 9095:9095
    environment:
      - "JVM_XMS=1g"
      - "JVM_XMX=1g"
      - "JVM_XMN=512m"
      - "JVM_MS=128M"
      - "JVM_MMS=128M"
      - "MYSQL_HOST=mysql"
      - "MYSQL_PORT=3306"
      - "MYSQL_USER=root"
      - "MYSQL_PASSWORD=iis"
      - "MYSQL_DB=soul"
    volumes:
      - ./logs:/usr/local/shenyu-admin/logs

Releases

No releases published

Packages

No packages published