|
|
@ -51,6 +51,10 @@ |
|
|
|
<artifactId>feign-httpclient</artifactId> |
|
|
|
<version>10.3.0</version> |
|
|
|
</dependency> |
|
|
|
<dependency> |
|
|
|
<groupId>com.alibaba.boot</groupId> |
|
|
|
<artifactId>nacos-config-spring-boot-starter</artifactId> |
|
|
|
</dependency> |
|
|
|
</dependencies> |
|
|
|
|
|
|
|
<build> |
|
|
@ -74,10 +78,10 @@ |
|
|
|
<skip>true</skip> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>com.spotify</groupId> |
|
|
|
<artifactId>dockerfile-maven-plugin</artifactId> |
|
|
|
</plugin> |
|
|
|
<!-- <plugin>--> |
|
|
|
<!-- <groupId>com.spotify</groupId>--> |
|
|
|
<!-- <artifactId>dockerfile-maven-plugin</artifactId>--> |
|
|
|
<!-- </plugin>--> |
|
|
|
</plugins> |
|
|
|
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory> |
|
|
@ -107,77 +111,108 @@ |
|
|
|
|
|
|
|
|
|
|
|
<profiles> |
|
|
|
<!-- <profile>--> |
|
|
|
<!-- <id>dev</id>--> |
|
|
|
<!-- <activation>--> |
|
|
|
<!-- <activeByDefault>true</activeByDefault>--> |
|
|
|
<!-- </activation>--> |
|
|
|
<!-- <properties>--> |
|
|
|
<!-- <spring.profiles.active>dev</spring.profiles.active>--> |
|
|
|
|
|
|
|
<!-- <server.port>9063</server.port>--> |
|
|
|
|
|
|
|
<!-- <spring.redis.index>2</spring.redis.index>--> |
|
|
|
<!-- <spring.redis.host>47.104.224.45</spring.redis.host>--> |
|
|
|
<!-- <spring.redis.port>6379</spring.redis.port>--> |
|
|
|
<!-- <spring.redis.password>elink@888</spring.redis.password>--> |
|
|
|
|
|
|
|
<!-- <spring.datasource.druid.url>--> |
|
|
|
<!-- <![CDATA[jdbc:mysql://47.104.224.45:3308/esua_epdc_group?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>--> |
|
|
|
<!-- </spring.datasource.druid.url>--> |
|
|
|
<!-- <spring.datasource.druid.username>epdc</spring.datasource.druid.username>--> |
|
|
|
<!-- <spring.datasource.druid.password>elink833066</spring.datasource.druid.password>--> |
|
|
|
|
|
|
|
<!-- <nacos.register-enabled>false</nacos.register-enabled>--> |
|
|
|
<!-- <nacos.server-addr>47.104.224.45:8848</nacos.server-addr>--> |
|
|
|
<!-- </properties>--> |
|
|
|
<!-- </profile>--> |
|
|
|
|
|
|
|
<profile> |
|
|
|
<id>dev</id> |
|
|
|
<activation> |
|
|
|
<activeByDefault>true</activeByDefault> |
|
|
|
</activation> |
|
|
|
<properties> |
|
|
|
<spring.profiles.active>dev</spring.profiles.active> |
|
|
|
|
|
|
|
<server.port>9063</server.port> |
|
|
|
|
|
|
|
<spring.redis.index>2</spring.redis.index> |
|
|
|
<spring.redis.host>47.104.224.45</spring.redis.host> |
|
|
|
<spring.redis.port>6379</spring.redis.port> |
|
|
|
<spring.redis.password>elink@888</spring.redis.password> |
|
|
|
|
|
|
|
<spring.datasource.druid.url> |
|
|
|
<![CDATA[jdbc:mysql://47.104.224.45:3308/esua_epdc_group?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> |
|
|
|
</spring.datasource.druid.url> |
|
|
|
<spring.datasource.druid.username>epdc</spring.datasource.druid.username> |
|
|
|
<spring.datasource.druid.password>elink833066</spring.datasource.druid.password> |
|
|
|
|
|
|
|
<nacos.register-enabled>false</nacos.register-enabled> |
|
|
|
<nacos.server-addr>47.104.224.45:8848</nacos.server-addr> |
|
|
|
<nacos.config.namespace>513d6635-3cfe-401f-b8b6-a04417288f47</nacos.config.namespace> |
|
|
|
<nacos.config.group>EPDC_GROUP</nacos.config.group> |
|
|
|
<nacos.config.bootstrap.log.enable>true</nacos.config.bootstrap.log.enable> |
|
|
|
</properties> |
|
|
|
</profile> |
|
|
|
|
|
|
|
<profile> |
|
|
|
<id>test</id> |
|
|
|
<properties> |
|
|
|
<spring.profiles.active>test</spring.profiles.active> |
|
|
|
<!-- <properties>--> |
|
|
|
<!-- <spring.profiles.active>test</spring.profiles.active>--> |
|
|
|
|
|
|
|
<server.port>9063</server.port> |
|
|
|
<!-- <server.port>9063</server.port>--> |
|
|
|
|
|
|
|
<spring.redis.index>2</spring.redis.index> |
|
|
|
<spring.redis.host>47.104.224.45</spring.redis.host> |
|
|
|
<spring.redis.port>6379</spring.redis.port> |
|
|
|
<spring.redis.password>elink@888</spring.redis.password> |
|
|
|
<!-- <spring.redis.index>2</spring.redis.index>--> |
|
|
|
<!-- <spring.redis.host>47.104.224.45</spring.redis.host>--> |
|
|
|
<!-- <spring.redis.port>6379</spring.redis.port>--> |
|
|
|
<!-- <spring.redis.password>elink@888</spring.redis.password>--> |
|
|
|
|
|
|
|
<spring.datasource.druid.url> |
|
|
|
<![CDATA[jdbc:mysql://47.104.224.45:3308/esua_epdc_group?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> |
|
|
|
</spring.datasource.druid.url> |
|
|
|
<spring.datasource.druid.username>epdc</spring.datasource.druid.username> |
|
|
|
<spring.datasource.druid.password>elink833066</spring.datasource.druid.password> |
|
|
|
<!-- <spring.datasource.druid.url>--> |
|
|
|
<!-- <![CDATA[jdbc:mysql://47.104.224.45:3308/esua_epdc_group?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>--> |
|
|
|
<!-- </spring.datasource.druid.url>--> |
|
|
|
<!-- <spring.datasource.druid.username>epdc</spring.datasource.druid.username>--> |
|
|
|
<!-- <spring.datasource.druid.password>elink833066</spring.datasource.druid.password>--> |
|
|
|
|
|
|
|
<!-- <nacos.register-enabled>true</nacos.register-enabled>--> |
|
|
|
<!-- <nacos.server-addr>47.104.224.45:8848</nacos.server-addr>--> |
|
|
|
<!-- </properties>--> |
|
|
|
<properties> |
|
|
|
<server.port>9063</server.port> |
|
|
|
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled> |
|
|
|
<nacos.server-addr>47.104.224.45:8848</nacos.server-addr> |
|
|
|
<nacos.config.namespace>513d6635-3cfe-401f-b8b6-a04417288f47</nacos.config.namespace> |
|
|
|
<nacos.config.group>EPDC_GROUP</nacos.config.group> |
|
|
|
<nacos.config.bootstrap.log.enable>true</nacos.config.bootstrap.log.enable> |
|
|
|
</properties> |
|
|
|
</profile> |
|
|
|
|
|
|
|
<profile> |
|
|
|
<id>prod</id> |
|
|
|
<!-- <properties>--> |
|
|
|
<!-- <spring.profiles.active>prod</spring.profiles.active>--> |
|
|
|
<!-- <docker.tag>prod</docker.tag>--> |
|
|
|
|
|
|
|
<!-- <server.port>9063</server.port>--> |
|
|
|
|
|
|
|
<!-- <!– redis配置 –>--> |
|
|
|
<!-- <spring.redis.index>0</spring.redis.index>--> |
|
|
|
<!-- <spring.redis.host>10.5.34.164</spring.redis.host>--> |
|
|
|
<!-- <spring.redis.port>6379</spring.redis.port>--> |
|
|
|
<!-- <spring.redis.password>Elink@833066</spring.redis.password>--> |
|
|
|
|
|
|
|
<!-- <spring.datasource.druid.url>--> |
|
|
|
<!-- <![CDATA[jdbc:mysql://10.5.34.164:3306/esua_epdc_group?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]>--> |
|
|
|
<!-- </spring.datasource.druid.url>--> |
|
|
|
<!-- <spring.datasource.druid.username>epdc</spring.datasource.druid.username>--> |
|
|
|
<!-- <spring.datasource.druid.password>Elink@833066</spring.datasource.druid.password>--> |
|
|
|
<!-- <!– nacos –>--> |
|
|
|
<!-- <nacos.register-enabled>true</nacos.register-enabled>--> |
|
|
|
<!-- <nacos.server-addr>10.5.34.164:8848</nacos.server-addr>--> |
|
|
|
<!-- </properties>--> |
|
|
|
<properties> |
|
|
|
<spring.profiles.active>prod</spring.profiles.active> |
|
|
|
<docker.tag>prod</docker.tag> |
|
|
|
|
|
|
|
<server.port>9063</server.port> |
|
|
|
|
|
|
|
<!-- redis配置 --> |
|
|
|
<spring.redis.index>0</spring.redis.index> |
|
|
|
<spring.redis.host>10.5.34.164</spring.redis.host> |
|
|
|
<spring.redis.port>6379</spring.redis.port> |
|
|
|
<spring.redis.password>Elink@833066</spring.redis.password> |
|
|
|
|
|
|
|
<spring.datasource.druid.url> |
|
|
|
<![CDATA[jdbc:mysql://10.5.34.164:3306/esua_epdc_group?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> |
|
|
|
</spring.datasource.druid.url> |
|
|
|
<spring.datasource.druid.username>epdc</spring.datasource.druid.username> |
|
|
|
<spring.datasource.druid.password>Elink@833066</spring.datasource.druid.password> |
|
|
|
<!-- nacos --> |
|
|
|
<nacos.register-enabled>true</nacos.register-enabled> |
|
|
|
<nacos.server-addr>10.5.34.164:8848</nacos.server-addr> |
|
|
|
<nacos.server-addr>47.104.224.45:8848</nacos.server-addr> |
|
|
|
<nacos.config.namespace>513d6635-3cfe-401f-b8b6-a04417288f47</nacos.config.namespace> |
|
|
|
<nacos.config.group>EPDC_GROUP</nacos.config.group> |
|
|
|
<nacos.config.bootstrap.log.enable>true</nacos.config.bootstrap.log.enable> |
|
|
|
</properties> |
|
|
|
</profile> |
|
|
|
</profiles> |
|
|
|