⏪ Reverting changes. 继续保留 register tomcat 配置,后边优化

This commit is contained in:
冷冷 committed 2020-05-13 14:45:30 +08:00
1 parent 166e52a779
commit 57223bc514
2 files changed
+13 -27

No files matched your search

+11 -24
View File
@@ -24,9 +24,19 @@
<artifactId>pigx-register</artifactId>
<packaging>jar</packaging>
<name>pigx-register</name>
<description>nacos 注册配置中心</description>
<description>nacos 注册配置中</description>
<dependencies>
<dependency>
<groupId>com.pig4cloud.nacos</groupId>
<artifactId>nacos-config</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
<version>7.0.59</version>
</dependency>
<dependency>
<groupId>com.pig4cloud.nacos</groupId>
<artifactId>nacos-naming</artifactId>
@@ -39,29 +49,6 @@
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>com.pig4cloud.nacos</groupId>
<artifactId>nacos-config</artifactId>
<version>1.2.1</version>
<exclusions>
<!--排除 tomcat-->
<exclusion>
<artifactId>spring-boot-starter-tomcat</artifactId>
<groupId>org.springframework.boot</groupId>
</exclusion>
<exclusion>
<artifactId>tomcat-embed-core</artifactId>
<groupId>org.apache.tomcat.embed</groupId>
</exclusion>
</exclusions>
</dependency>
<!--undertow容器-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-undertow</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
@@ -1,8 +1,7 @@
server:
port: 8848
undertow:
accesslog:
enabled: false
tomcat:
basedir: logs
db:
num: 1