feat(activemq): 添加ActiveMQ配置及文档
This commit is contained in:
parent
d623c71e40
commit
e9a95a40c7
|
@ -0,0 +1,154 @@
|
|||
additionalProperties:
|
||||
formFields:
|
||||
- default: "true"
|
||||
edit: true
|
||||
envKey: NACOS_AUTH_ENABLE
|
||||
labelEn: Enable Authentication
|
||||
labelZh: 开启鉴权
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: 开启
|
||||
value: "true"
|
||||
- label: 关闭
|
||||
value: "false"
|
||||
- default: 8848
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Nacos run port
|
||||
labelZh: Nacos 运行端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: 9848
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_COMMUNICATION
|
||||
labelEn: Nacos communication port
|
||||
labelZh: Nacos 通讯端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
- default: "serverIdentity"
|
||||
edit: true
|
||||
envKey: NACOS_AUTH_IDENTITY_KEY
|
||||
labelEn: Nacos auth identity key
|
||||
labelZh: Nacos身份验证密钥键
|
||||
required: true
|
||||
type: text
|
||||
- default: "security"
|
||||
edit: true
|
||||
envKey: NACOS_AUTH_IDENTITY_VALUE
|
||||
labelEn: Nacos auth identity value
|
||||
labelZh: Nacos身份验证密钥值
|
||||
required: true
|
||||
type: text
|
||||
- default: "SecretKey012345678901234567890123456789012345678901234567890123456789"
|
||||
edit: true
|
||||
envKey: NACOS_AUTH_TOKEN
|
||||
labelEn: Nacos auth token
|
||||
labelZh: Nacos身份验证令牌
|
||||
required: true
|
||||
type: text
|
||||
- default: "mysql"
|
||||
edit: true
|
||||
envKey: SPRING_DATASOURCE_PLATFORM
|
||||
labelEn: SPRING_DATASOURCE_PLATFORM
|
||||
labelZh: Nacos使用数据库类型
|
||||
required: true
|
||||
type: select
|
||||
values:
|
||||
- label: MYSQL
|
||||
value: "mysql"
|
||||
- label: SQLSERVER
|
||||
value: "sqlserver"
|
||||
- label: ORACLE
|
||||
value: "oracle"
|
||||
- label: POSTGRESQL
|
||||
value: "postgresql"
|
||||
- label: H2
|
||||
value: "h2"
|
||||
- label: HSQL
|
||||
value: "hsql"
|
||||
- label: DERBY
|
||||
value: "derby"
|
||||
- label: DB2
|
||||
value: "db2"
|
||||
- label: SQLITE
|
||||
value: "sqlite"
|
||||
- default: 10.2.2.12
|
||||
edit: true
|
||||
envKey: MYSQL_SERVICE_HOST
|
||||
labelEn: Nacos mysql host
|
||||
labelZh: Nacos mysql 主机地址
|
||||
required: true
|
||||
type: text
|
||||
- default: 3306
|
||||
edit: true
|
||||
envKey: MYSQL_SERVICE_PORT
|
||||
labelEn: Nacos mysql port
|
||||
labelZh: Nacos mysql 端口
|
||||
required: true
|
||||
type: number
|
||||
- default: "nacos"
|
||||
edit: true
|
||||
envKey: MYSQL_SERVICE_DB_NAME
|
||||
labelEn: Nacos mysql database name
|
||||
labelZh: Nacos mysql 数据库名称
|
||||
required: true
|
||||
type: text
|
||||
- default: "root"
|
||||
edit: true
|
||||
envKey: MYSQL_SERVICE_USER
|
||||
labelEn: Nacos mysql username
|
||||
labelZh: Nacos mysql 用户名
|
||||
required: true
|
||||
type: text
|
||||
- default: "123456"
|
||||
edit: true
|
||||
envKey: MYSQL_SERVICE_PASSWORD
|
||||
labelEn: Nacos mysql password
|
||||
labelZh: Nacos mysql 密码
|
||||
required: true
|
||||
type: text
|
||||
- default: ""
|
||||
edit: true
|
||||
envKey: NACOS_SERVER_IP
|
||||
labelEn: IP can be specified in multi network card mode
|
||||
labelZh: 多网卡模式下可以指定IP
|
||||
required: false
|
||||
type: text
|
||||
- default: "2g"
|
||||
edit: true
|
||||
envKey: JVM_XMS
|
||||
labelEn: JVM_XMS
|
||||
labelZh: JVM_XMS
|
||||
required: true
|
||||
type: text
|
||||
- default: "2g"
|
||||
edit: true
|
||||
envKey: JVM_XMX
|
||||
labelEn: JVM_XMX
|
||||
labelZh: JVM_XMX
|
||||
required: true
|
||||
type: text
|
||||
- default: "1g"
|
||||
edit: true
|
||||
envKey: JVM_XMN
|
||||
labelEn: JVM_XMN
|
||||
labelZh: JVM_XMN
|
||||
required: true
|
||||
type: text
|
||||
- default: "128m"
|
||||
edit: true
|
||||
envKey: JVM_MS
|
||||
labelEn: JVM_MS
|
||||
labelZh: JVM_MS
|
||||
required: true
|
||||
type: text
|
||||
- default: "320m"
|
||||
edit: true
|
||||
envKey: JVM_MMS
|
||||
labelEn: JVM_MMS
|
||||
labelZh: JVM_MMS
|
||||
required: true
|
||||
type: text
|
|
@ -0,0 +1,9 @@
|
|||
version: '3.8' # 你可以根据需要使用不同的版本
|
||||
services:
|
||||
activeMQ:
|
||||
image: apache/activemq-classic
|
||||
container_name: activeMQ
|
||||
ports:
|
||||
- "61616:61616"
|
||||
- "8161:8161"
|
||||
restart: unless-stopped
|
|
@ -0,0 +1,30 @@
|
|||
# 使用说明
|
||||
|
||||
## 服务地址
|
||||
|
||||
- 访问地址:`http://IP:8848/nacos`
|
||||
- 用户名:`nacos`
|
||||
- 密码:`nacos`
|
||||
|
||||
## 参数调优
|
||||
|
||||
```shell
|
||||
- JVM_XMS=64m # -Xms default :2g
|
||||
- JVM_XMX=64m # -Xmx default :2g
|
||||
- JVM_XMN=16m # -Xmn default :1g
|
||||
- JVM_MS=8m # -XX:MetaspaceSize default :128m
|
||||
- JVM_MMS=8m # -XX:MaxMetaspaceSize default :320m
|
||||
```
|
||||
|
||||
# Nacos
|
||||
|
||||
**Nacos** 是一个更易于构建云原生应用的动态服务发现、配置管理和服务管理平台。
|
||||
|
||||
## Nacos 的关键特性
|
||||
|
||||
## 特色:
|
||||
|
||||
- **易用**:动态服务发现的一站式解决方案。配置管理和动态 DNS服务。提供 20 多项开箱即用的特性,适用于面向服务的架构。轻量级的生产就绪控制台。
|
||||
- **可靠**:无缝支持 Kubernetes 和 Spring Cloud,更容易在流行的公共云(例如阿里云和 AWS)上部署和运行,支持多租户和多环境。
|
||||
- **云原生**:源自阿里巴巴集团经过时间验证的内部产品。支持具有数百万服务规模的大型场景。开源产品并提供企业级的服务级别协议(SLA)。
|
||||
- **可扩展**:支持速率限制、大规模推广计划和多区域主动-主动架构。直接或稍作扩展支持各种相关的基于互联网的使用案例。流量调度和服务治理。
|
|
@ -0,0 +1,19 @@
|
|||
name: ActiveMQ
|
||||
tags:
|
||||
- 中间件
|
||||
title: 动态服务发现、配置管理和服务管理平台
|
||||
description: 动态服务发现、配置管理和服务管理平台
|
||||
additionalProperties:
|
||||
key: ActiveMQ
|
||||
name: ActiveMQ
|
||||
tags:
|
||||
- Middleware
|
||||
shortDescZh: 动态服务发现、配置管理和服务管理平台
|
||||
shortDescEn: Dynamic service discovery, configuration and service management platform
|
||||
type: tool
|
||||
crossVersionUpdate: false
|
||||
limit: 1
|
||||
recommend: 0
|
||||
website: https://nacos.io/
|
||||
github: https://github.com/alibaba/nacos
|
||||
document: https://nacos.io/docs/latest/what-is-nacos/
|
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
Loading…
Reference in New Issue