|
@ -1,8 +1,10 @@
|
|
|
##如果有配置服务的话,远程服务器和本地服务器配置不一致的情况下,优先远程的为主 git上 svr-base -> git application ->本地 appliction ->本地 bootstarp
|
|
|
server:
|
|
|
port: ${server.svr-iot-port}
|
|
|
context-path: ${server.context-path.svr-iot-context-path}
|
|
|
port: 10050
|
|
|
|
|
|
spring:
|
|
|
application:
|
|
|
name: svr-iot #注册到发现服务的id 如果id一样 eurika会自动做负载
|
|
|
|
|
|
datasource:
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|
|
@ -87,11 +89,19 @@ fastDFS:
|
|
|
---
|
|
|
spring:
|
|
|
profiles: jwtest
|
|
|
datasource:
|
|
|
url: jdbc:mysql://172.19.103.77:3306/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
|
|
|
username: root
|
|
|
password: 123456
|
|
|
fastDFS:
|
|
|
fastdfs_file_url: http://172.19.103.54:80/
|
|
|
|
|
|
---
|
|
|
spring:
|
|
|
profiles: jwprod
|
|
|
datasource:
|
|
|
url: jdbc:mysql://172.19.103.77:3306/xmiot?useUnicode=true&characterEncoding=utf-8&autoReconnect=true
|
|
|
username: root
|
|
|
password: 123456
|
|
|
fastDFS:
|
|
|
fastdfs_file_url: http://172.19.103.54:80/
|