feat: add more
This commit is contained in:
24
src/nacos/.env.example
Normal file
24
src/nacos/.env.example
Normal file
@@ -0,0 +1,24 @@
|
||||
# Nacos version
|
||||
NACOS_VERSION="v3.1.0-slim"
|
||||
|
||||
# Mode: standalone or cluster
|
||||
NACOS_MODE="standalone"
|
||||
|
||||
# Authentication settings
|
||||
NACOS_AUTH_ENABLE=true
|
||||
NACOS_AUTH_TOKEN="SecretKey012345678901234567890123456789012345678901234567890123456789"
|
||||
NACOS_AUTH_IDENTITY_KEY="serverIdentity"
|
||||
NACOS_AUTH_IDENTITY_VALUE="security"
|
||||
|
||||
# Database platform (leave empty for embedded db, or set to mysql)
|
||||
SPRING_DATASOURCE_PLATFORM=""
|
||||
|
||||
# JVM settings
|
||||
JVM_XMS="512m"
|
||||
JVM_XMX="512m"
|
||||
JVM_XMN="256m"
|
||||
|
||||
# Port overrides
|
||||
NACOS_HTTP_PORT_OVERRIDE=8848
|
||||
NACOS_GRPC_PORT_OVERRIDE=9848
|
||||
NACOS_GRPC_PORT2_OVERRIDE=9849
|
||||
Reference in New Issue
Block a user