2018-07-21 00:27:23 +08:00
|
|
|
# spring
|
2018-10-03 01:18:09 +08:00
|
|
|
|
2018-07-21 00:27:23 +08:00
|
|
|
server.contextPath=/nacos
|
|
|
|
server.servlet.contextPath=/nacos
|
2018-09-19 19:06:03 +08:00
|
|
|
server.port=8848
|
2018-07-21 00:27:23 +08:00
|
|
|
|
2019-06-28 17:18:59 +08:00
|
|
|
# nacos.cmdb.dumpTaskInterval=3600
|
|
|
|
# nacos.cmdb.eventTaskInterval=10
|
|
|
|
# nacos.cmdb.labelTaskInterval=300
|
|
|
|
# nacos.cmdb.loadDataAtStart=false
|
2018-07-21 00:27:23 +08:00
|
|
|
|
2019-01-07 20:53:34 +08:00
|
|
|
|
|
|
|
# metrics for prometheus
|
|
|
|
#management.endpoints.web.exposure.include=*
|
|
|
|
|
|
|
|
# metrics for elastic search
|
2019-01-09 11:02:44 +08:00
|
|
|
management.metrics.export.elastic.enabled=false
|
2019-01-07 20:53:34 +08:00
|
|
|
#management.metrics.export.elastic.host=http://localhost:9200
|
|
|
|
|
|
|
|
# metrics for influx
|
2019-01-09 11:02:44 +08:00
|
|
|
management.metrics.export.influx.enabled=false
|
2019-01-07 20:53:34 +08:00
|
|
|
#management.metrics.export.influx.db=springboot
|
|
|
|
#management.metrics.export.influx.uri=http://localhost:8086
|
|
|
|
#management.metrics.export.influx.auto-create-db=true
|
|
|
|
#management.metrics.export.influx.consistency=one
|
|
|
|
#management.metrics.export.influx.compressed=true
|
|
|
|
|
2019-01-03 16:49:57 +08:00
|
|
|
server.tomcat.accesslog.enabled=true
|
2019-03-26 14:09:17 +08:00
|
|
|
server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b %D %{User-Agent}i
|
2019-01-09 16:02:34 +08:00
|
|
|
# default current work dir
|
|
|
|
server.tomcat.basedir=
|
2019-01-16 22:54:51 +08:00
|
|
|
|
|
|
|
## spring security config
|
|
|
|
### turn off security
|
|
|
|
#spring.security.enabled=false
|
|
|
|
#management.security=false
|
|
|
|
#security.basic.enabled=false
|
|
|
|
#nacos.security.ignore.urls=/**
|
|
|
|
|
2019-06-28 17:18:59 +08:00
|
|
|
# nacos.naming.distro.taskDispatchPeriod=200
|
|
|
|
# nacos.naming.distro.batchSyncKeyCount=1000
|
|
|
|
# nacos.naming.distro.syncRetryDelay=5000
|
|
|
|
# nacos.naming.data.warmup=true
|
|
|
|
# nacos.naming.expireInstance=true
|
2019-10-24 14:46:46 +08:00
|
|
|
|
|
|
|
nacos.istio.mcp.server.enabled=false
|
2019-12-18 20:25:10 +08:00
|
|
|
|
|
|
|
nacos.security.ignore.urls=/,/error,/**/*.css,/**/*.js,/**/*.html,/**/*.map,/**/*.svg,/**/*.png,/**/*.ico,/console-fe/public/**,/v1/auth/**,/v1/console/health/**,/actuator/**,/v1/console/server/**
|
|
|
|
|
|
|
|
|
|
|
|
nacos.core.auth.system.type=nacos
|
|
|
|
nacos.core.auth.enabled=false
|
|
|
|
nacos.core.auth.default.token.expire.seconds=18000
|