Commit 9ce28ebdb0eea30d2b02df88c9d4c344c9fc069c
1 parent
7bded01c
mcy
Showing
1 changed file
with
36 additions
and
2 deletions
src/main/resources/application-dev.properties
| @@ -8,9 +8,43 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | @@ -8,9 +8,43 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | ||
| 8 | spring.jpa.database= MYSQL | 8 | spring.jpa.database= MYSQL |
| 9 | spring.jpa.show-sql= true | 9 | spring.jpa.show-sql= true |
| 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver | 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver |
| 11 | -spring.datasource.url= jdbc:mysql://192.168.168.201/mh_control?useUnicode=true&characterEncoding=utf-8&useSSL=false | 11 | +spring.datasource.url= jdbc:mysql://127.0.0.1/qp_control?useUnicode=true&characterEncoding=utf-8&useSSL=false |
| 12 | spring.datasource.username= root | 12 | spring.datasource.username= root |
| 13 | -spring.datasource.password= 123456 | 13 | +spring.datasource.password= |
| 14 | +#spring.datasource.url= jdbc:mysql://192.168.168.117/pd_control?useUnicode=true&characterEncoding=utf-8&useSSL=false | ||
| 15 | +#spring.datasource.username= root | ||
| 16 | +#spring.datasource.password= root | ||
| 17 | +#DATASOURCE | ||
| 18 | +spring.datasource.max-active=100 | ||
| 19 | +spring.datasource.max-idle=8 | ||
| 20 | +spring.datasource.min-idle=8 | ||
| 21 | +spring.datasource.initial-size=5 | ||
| 22 | + | ||
| 23 | +spring.datasource.test-on-borrow=true | ||
| 24 | +spring.datasource.test-on-connect=true | ||
| 25 | +spring.datasource.test-on-return=true | ||
| 26 | +spring.datasource.test-while-idle=true | ||
| 27 | +spring.datasource.validation-query=select 1 | ||
| 28 | + | ||
| 29 | +## | ||
| 30 | +#222.66.0.204:5555 | ||
| 31 | +##\u5B9E\u65F6gps | ||
| 32 | +http.gps.real.url= http://192.168.168.201:9090/transport_server/rtgps/ | ||
| 33 | +#http.gps.real.url= http://27.115.69.123:8800/transport_server/rtgps/ | ||
| 34 | +##\u6D88\u606F\u4E0B\u53D1 | ||
| 35 | +http.send.directive = http://192.168.168.201:9090/transport_server/message/server.port=9088 | ||
| 36 | +management.port= 9001 | ||
| 37 | +management.address= 127.0.0.1 | ||
| 38 | + | ||
| 39 | +spring.jpa.hibernate.ddl-auto= update | ||
| 40 | +spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | ||
| 41 | +#DATABASE | ||
| 42 | +spring.jpa.database= MYSQL | ||
| 43 | +spring.jpa.show-sql= true | ||
| 44 | +spring.datasource.driver-class-name= com.mysql.jdbc.Driver | ||
| 45 | +spring.datasource.url= jdbc:mysql://127.0.0.1/qp_control?useUnicode=true&characterEncoding=utf-8&useSSL=false | ||
| 46 | +spring.datasource.username= root | ||
| 47 | +spring.datasource.password= | ||
| 14 | #spring.datasource.url= jdbc:mysql://192.168.168.117/pd_control?useUnicode=true&characterEncoding=utf-8&useSSL=false | 48 | #spring.datasource.url= jdbc:mysql://192.168.168.117/pd_control?useUnicode=true&characterEncoding=utf-8&useSSL=false |
| 15 | #spring.datasource.username= root | 49 | #spring.datasource.username= root |
| 16 | #spring.datasource.password= root | 50 | #spring.datasource.password= root |