appstore-1panel/appstore/nacos/2.4.3/.env
2024-11-28 09:03:16 +00:00

67 lines
1.5 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# MySQL 服务 (前置检查) [必填]
PANEL_DB_TYPE=mysql
# 网络模式 [必填]
NETWORK_MODE=host
# 数据持久化路径 [必填]
NACOS_ROOT_PATH=/home/nacos
# WebUI 端口 [必填]
PANEL_APP_PORT_HTTP=8848
# Nacos gRPC 客户端端口 [必填]
PANEL_APP_PORT_GRPC_CLIENT=9848
# Nacos gRPC 服务端端口 [必填]
PANEL_APP_PORT_GRPC_SERVER=9849
# IP模式/域名模式 [必填]
PREFER_HOST_MODE=ip
# 服务IP [必填]
NACOS_SERVER_IP=
# Nacos身份验证密钥键 [必填]
NACOS_AUTH_IDENTITY_KEY=serverIdentity
# Nacos身份验证密钥值 [必填]
NACOS_AUTH_IDENTITY_VALUE=security
# Nacos身份验证令牌至少32位字符的Base64编码 [必填]
NACOS_AUTH_TOKEN=SecretKey012345678901234567890123456789012345678901234567890123456789
# JVM_XMS (初始内存大小) [必填]
JVM_XMS=512m
# JVM_XMX (最大内存大小) [必填]
JVM_XMX=2g
# JVM_XMN (新生代内存) [必填]
JVM_XMN=128m
# JVM_MS (初始元空间大小) [必填]
JVM_MS=128m
# JVM_MMS (最大元空间大小) [必填]
JVM_MMS=320m
# 数据库 主机 [必填]
MYSQL_SERVICE_HOST=127.0.0.1
# 数据库 端口 [必填]
MYSQL_SERVICE_PORT=3306
# 数据库 用户名 [必填]
MYSQL_SERVICE_USER=nacos
# 数据库 密码 [必填]
MYSQL_SERVICE_PASSWORD=
# 数据库 名称 [必填]
MYSQL_SERVICE_DB_NAME=nacos
# 数据库 连接参数 [必填]
MYSQL_SERVICE_DB_PARAM=characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true