mirror of
https://github.com/jeecgboot/JeecgBoot.git
synced 2026-02-03 17:15:41 +08:00
3.7.1版本发布
This commit is contained in:
@ -27,6 +27,9 @@ public class JeecgNacosApplication {
|
||||
public static void main(String[] args) {
|
||||
System.setProperty("nacos.standalone", standalone);
|
||||
System.setProperty("nacos.core.auth.enabled", enabled);
|
||||
// //一旦Nacos初始化,用户名nacos将不能被修改,但你可以通过控制台或API来修改密码 https://nacos.io/en/blog/faq/nacos-user-question-history8420
|
||||
// System.setProperty("nacos.core.auth.default.username", "nacos");
|
||||
// System.setProperty("nacos.core.auth.default.password", "nacos");
|
||||
System.setProperty("server.tomcat.basedir","logs");
|
||||
//自定义启动端口号
|
||||
System.setProperty("server.port","8848");
|
||||
|
||||
@ -33,15 +33,15 @@ nacos:
|
||||
enabled: true
|
||||
server:
|
||||
identity:
|
||||
key: example
|
||||
value: example
|
||||
key: nacos
|
||||
value: nacos
|
||||
plugin:
|
||||
nacos:
|
||||
token:
|
||||
expire:
|
||||
seconds: 18000
|
||||
secret:
|
||||
key: SecretKey01234567890123456789012345345678999987654901234567890123456789
|
||||
key: VGhpc0lzTXlDdXN0b21TZWNyZXRLZXkwMTIzNDU2Nzg=
|
||||
system:
|
||||
type: nacos
|
||||
istio:
|
||||
|
||||
Reference in New Issue
Block a user