mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 20:49:00 +08:00
⬆️ 依赖升级。 升级到spring cloud alibaba 0.9.0
This commit is contained in:
1 parent
b4d5dc1c8f
commit
5c11d79deb
8 files changed
+255
-204
No files matched your search
@@ -32,10 +32,6 @@ import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
public class PigxNacosApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.setProperty(ConfigConstant.TOMCAT_DIR, "logs");
|
||||
System.setProperty(ConfigConstant.TOMCAT_ACCESS_LOG, "false");
|
||||
System.setProperty(ConfigConstant.NACOS_HOME, "pigx-config");
|
||||
System.setProperty(ConfigConstant.NACOS_LOGS_PATH, "logs/nacos");
|
||||
System.setProperty(ConfigConstant.STANDALONE_MODE, "true");
|
||||
SpringApplication.run(PigxNacosApplication.class, args);
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@ package com.alibaba.nacos.console.config;
|
||||
/**
|
||||
* @author lengleng
|
||||
* @date 2019-04-19
|
||||
* <p>
|
||||
* 覆盖nacos 默认配置
|
||||
*/
|
||||
public interface ConfigConstant {
|
||||
/**
|
||||
@@ -25,6 +27,7 @@ public interface ConfigConstant {
|
||||
*/
|
||||
String NACOS_HOME = "nacos.home";
|
||||
|
||||
|
||||
/**
|
||||
* tomcat 目录
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user