|
@ -105,7 +105,7 @@ |
|
|
</build> |
|
|
</build> |
|
|
<profiles> |
|
|
<profiles> |
|
|
<profile> |
|
|
<profile> |
|
|
<id>dev</id> |
|
|
<id>dev-local</id> |
|
|
<activation> |
|
|
<activation> |
|
|
<activeByDefault>true</activeByDefault> |
|
|
<activeByDefault>true</activeByDefault> |
|
|
</activation> |
|
|
</activation> |
|
@ -115,13 +115,13 @@ |
|
|
|
|
|
|
|
|
<!-- 数据库配置--> |
|
|
<!-- 数据库配置--> |
|
|
<spring.datasource.druid.url> |
|
|
<spring.datasource.druid.url> |
|
|
<![CDATA[jdbc:mysql://47.104.224.45:3308/epmet_demo?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> |
|
|
<![CDATA[jdbc:mysql://localhost:3306/epmet_demo?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> |
|
|
</spring.datasource.druid.url> |
|
|
</spring.datasource.druid.url> |
|
|
<spring.datasource.druid.username>epmet</spring.datasource.druid.username> |
|
|
<spring.datasource.druid.username>epmet</spring.datasource.druid.username> |
|
|
<spring.datasource.druid.password>elink@833066</spring.datasource.druid.password> |
|
|
<spring.datasource.druid.password>elink@833066</spring.datasource.druid.password> |
|
|
<!-- redis配置 --> |
|
|
<!-- redis配置 --> |
|
|
<spring.redis.index>0</spring.redis.index> |
|
|
<spring.redis.index>0</spring.redis.index> |
|
|
<spring.redis.host>10.10.10.248</spring.redis.host> |
|
|
<spring.redis.host>127.0.0.1</spring.redis.host> |
|
|
<spring.redis.port>6379</spring.redis.port> |
|
|
<spring.redis.port>6379</spring.redis.port> |
|
|
<spring.redis.password>123456</spring.redis.password> |
|
|
<spring.redis.password>123456</spring.redis.password> |
|
|
<!-- nacos --> |
|
|
<!-- nacos --> |
|
@ -134,6 +134,36 @@ |
|
|
<nacos.ip/> |
|
|
<nacos.ip/> |
|
|
</properties> |
|
|
</properties> |
|
|
</profile> |
|
|
</profile> |
|
|
|
|
|
<profile> |
|
|
|
|
|
<id>dev</id> |
|
|
|
|
|
<!-- <activation> |
|
|
|
|
|
<activeByDefault>true</activeByDefault> |
|
|
|
|
|
</activation>--> |
|
|
|
|
|
<properties> |
|
|
|
|
|
<server.port>8088</server.port> |
|
|
|
|
|
<spring.profiles.active>dev</spring.profiles.active> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 数据库配置--> |
|
|
|
|
|
<spring.datasource.druid.url> |
|
|
|
|
|
<![CDATA[jdbc:mysql://rm-m5ef9t617j6o5eup7.mysql.rds.aliyuncs.com:3306/epmet_demo_dev?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> |
|
|
|
|
|
</spring.datasource.druid.url> |
|
|
|
|
|
<spring.datasource.druid.username>epmet</spring.datasource.druid.username> |
|
|
|
|
|
<spring.datasource.druid.password>elink@833066</spring.datasource.druid.password> |
|
|
|
|
|
<!-- redis配置 --> |
|
|
|
|
|
<spring.redis.index>0</spring.redis.index> |
|
|
|
|
|
<spring.redis.host>r-m5eoz5b6tkx09y6bpz.redis.rds.aliyuncs.com</spring.redis.host> |
|
|
|
|
|
<spring.redis.port>6379</spring.redis.port> |
|
|
|
|
|
<spring.redis.password>EpmEtrEdIs!q@w</spring.redis.password> |
|
|
|
|
|
<!-- nacos --> |
|
|
|
|
|
<nacos.register-enabled>true</nacos.register-enabled> |
|
|
|
|
|
<nacos.server-addr>192.168.10.150:8848</nacos.server-addr> |
|
|
|
|
|
<nacos.discovery.namespace>67e3c350-533e-4d7c-9f8f-faf1b4aa82ae</nacos.discovery.namespace> |
|
|
|
|
|
<nacos.config.namespace></nacos.config.namespace> |
|
|
|
|
|
<nacos.config.group></nacos.config.group> |
|
|
|
|
|
<nacos.config-enabled>false</nacos.config-enabled> |
|
|
|
|
|
<nacos.ip/> |
|
|
|
|
|
</properties> |
|
|
|
|
|
</profile> |
|
|
<profile> |
|
|
<profile> |
|
|
<id>test</id> |
|
|
<id>test</id> |
|
|
<!--<activation> |
|
|
<!--<activation> |
|
|