|
|
@ -125,6 +125,38 @@ |
|
|
|
<profiles> |
|
|
|
<profile> |
|
|
|
<id>dev</id> |
|
|
|
<activation> |
|
|
|
<activeByDefault>false</activeByDefault> |
|
|
|
</activation> |
|
|
|
<properties> |
|
|
|
<server.port>8088</server.port> |
|
|
|
<spring.profiles.active>dev</spring.profiles.active> |
|
|
|
|
|
|
|
<!-- 数据库配置--> |
|
|
|
<spring.datasource.druid.url> |
|
|
|
<![CDATA[jdbc:mysql://192.168.1.140:3306/epmet_demo?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai]]> |
|
|
|
</spring.datasource.druid.url> |
|
|
|
<spring.datasource.druid.username>epmet_demo_user</spring.datasource.druid.username> |
|
|
|
<spring.datasource.druid.password>EpmEt-db-UsEr</spring.datasource.druid.password> |
|
|
|
<!-- redis配置 --> |
|
|
|
<spring.redis.index>0</spring.redis.index> |
|
|
|
<spring.redis.host>192.168.1.140</spring.redis.host> |
|
|
|
<spring.redis.port>6379</spring.redis.port> |
|
|
|
<spring.redis.password>123456</spring.redis.password> |
|
|
|
<!-- nacos --> |
|
|
|
<nacos.register-enabled>true</nacos.register-enabled> |
|
|
|
<nacos.server-addr>192.168.1.140:8848</nacos.server-addr> |
|
|
|
<nacos.discovery.namespace>1fecc730-5e6e-464c-aae9-7567944e7936</nacos.discovery.namespace> |
|
|
|
<nacos.config.namespace></nacos.config.namespace> |
|
|
|
<nacos.config.group></nacos.config.group> |
|
|
|
<nacos.config-enabled>false</nacos.config-enabled> |
|
|
|
<nacos.ip/> |
|
|
|
<!--是否开启服务列表变更监听--> |
|
|
|
<nacos.service-list-changed-listening.enable>true</nacos.service-list-changed-listening.enable> |
|
|
|
</properties> |
|
|
|
</profile> |
|
|
|
<profile> |
|
|
|
<id>local</id> |
|
|
|
<activation> |
|
|
|
<activeByDefault>true</activeByDefault> |
|
|
|
</activation> |
|
|
|