Commit 2cfa5798c8bba743a2bcd0cee5200051530b786e
1 parent
1b85033d
1.minhang
Showing
3 changed files
with
36 additions
and
78 deletions
src/main/resources/application-cloud.properties deleted
100644 → 0
| 1 | -server.port=9089 | ||
| 2 | -management.port= 9001 | ||
| 3 | -management.address= 127.0.0.1 | ||
| 4 | - | ||
| 5 | -spring.jpa.hibernate.ddl-auto= none | ||
| 6 | -spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | ||
| 7 | -#DATABASE | ||
| 8 | -spring.jpa.database= MYSQL | ||
| 9 | -spring.jpa.show-sql= false | ||
| 10 | -spring.datasource.driver-class-name= com.mysql.jdbc.Driver | ||
| 11 | -spring.datasource.url= jdbc:mysql://192.168.168.171/control?useUnicode=true&characterEncoding=utf-8&useSSL=false | ||
| 12 | -spring.datasource.username= root | ||
| 13 | -spring.datasource.password= root2jsp | ||
| 14 | -#DATASOURCE | ||
| 15 | -spring.datasource.max-active=100 | ||
| 16 | -spring.datasource.max-idle=8 | ||
| 17 | -spring.datasource.min-idle=8 | ||
| 18 | -spring.datasource.initial-size=3 | ||
| 19 | - | ||
| 20 | -spring.datasource.test-on-borrow=true | ||
| 21 | -spring.datasource.test-on-connect=true | ||
| 22 | -spring.datasource.test-on-return=true | ||
| 23 | -spring.datasource.test-while-idle=true | ||
| 24 | -spring.datasource.validation-query=select 1 | ||
| 25 | - | ||
| 26 | -#REDIS | ||
| 27 | -spring.redis.database=0 | ||
| 28 | -spring.redis.host=192.168.168.200 | ||
| 29 | -spring.redis.password=bsth_control_001 | ||
| 30 | -spring.redis.port=28008 | ||
| 31 | - | ||
| 32 | -http.control.service_data_url= http://192.168.168.171:9088/companyService | ||
| 33 | -http.control.secret.key= dVPHJkWUt5FhMT7jrM2dLV7QvlHAmZFd42rs1P0usBx8A7HZki | ||
| 34 | - | ||
| 35 | -http.gps.real.url= http://192.168.168.171:8080/transport_server/rtgps/ | ||
| 36 | \ No newline at end of file | 0 | \ No newline at end of file |
src/main/resources/application-prod.properties
| 1 | -server.port=9089 | ||
| 2 | -management.port= 9001 | ||
| 3 | -management.address= 127.0.0.1 | ||
| 4 | - | ||
| 5 | -spring.jpa.hibernate.ddl-auto= none | ||
| 6 | -spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | ||
| 7 | -#DATABASE | ||
| 8 | -spring.jpa.database= MYSQL | ||
| 9 | -spring.jpa.show-sql= false | ||
| 10 | -spring.datasource.driver-class-name= com.mysql.jdbc.Driver | ||
| 11 | -spring.datasource.url= jdbc:mysql://10.10.200.121:3306/control?useUnicode=true&characterEncoding=utf-8&useSSL=false | ||
| 12 | -spring.datasource.username= root | ||
| 13 | -spring.datasource.password= root2jsp | ||
| 14 | -#DATASOURCE | ||
| 15 | -spring.datasource.max-active=100 | ||
| 16 | -spring.datasource.max-idle=8 | ||
| 17 | -spring.datasource.min-idle=8 | ||
| 18 | -spring.datasource.initial-size=3 | ||
| 19 | - | ||
| 20 | -spring.datasource.test-on-borrow=true | ||
| 21 | -spring.datasource.test-on-connect=true | ||
| 22 | -spring.datasource.test-on-return=true | ||
| 23 | -spring.datasource.test-while-idle=true | ||
| 24 | -spring.datasource.validation-query=select 1 | ||
| 25 | - | ||
| 26 | -#REDIS | ||
| 27 | -spring.redis.database=0 | ||
| 28 | -spring.redis.host=10.10.150.24 | ||
| 29 | -spring.redis.password=bsth_control_001 | ||
| 30 | -spring.redis.port=28008 | ||
| 31 | - | ||
| 32 | -#kafka | ||
| 33 | -spring.kafka.bootstrap-servers=112.64.45.145:19093,112.64.45.145:19094,112.64.45.145:19095,112.64.45.145:19096 | ||
| 34 | -spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer | ||
| 35 | -spring.kafka.producer.value-serializer=org.apache.kafka.common.serialization.StringSerializer | ||
| 36 | -spring.kafka.producer.buffer-memory=33554432 | ||
| 37 | -spring.kafka.producer.acks=all | ||
| 38 | - | ||
| 39 | -http.control.service_data_url= http://10.10.200.121:49088/companyService | ||
| 40 | -http.control.secret.key= dVPHJkWUt5FhMT7jrM2dLV7QvlHAmZFd42rs1P0usBx8A7HZki | ||
| 41 | - | ||
| 42 | -http.gps.real.url= http://10.10.200.79:8080/transport_server/rtgps/ | ||
| 43 | \ No newline at end of file | 1 | \ No newline at end of file |
| 2 | +server.port=9089 | ||
| 3 | +management.port= 9001 | ||
| 4 | +management.address= 127.0.0.1 | ||
| 5 | + | ||
| 6 | +spring.jpa.hibernate.ddl-auto= none | ||
| 7 | +spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | ||
| 8 | +#DATABASE | ||
| 9 | +spring.jpa.database= MYSQL | ||
| 10 | +spring.jpa.show-sql= false | ||
| 11 | +spring.datasource.driver-class-name= com.mysql.jdbc.Driver | ||
| 12 | +spring.datasource.url= jdbc:mysql://192.168.168.171/control?useUnicode=true&characterEncoding=utf-8&useSSL=false | ||
| 13 | +spring.datasource.username= root | ||
| 14 | +spring.datasource.password= root2jsp | ||
| 15 | +#DATASOURCE | ||
| 16 | +spring.datasource.max-active=100 | ||
| 17 | +spring.datasource.max-idle=8 | ||
| 18 | +spring.datasource.min-idle=8 | ||
| 19 | +spring.datasource.initial-size=3 | ||
| 20 | + | ||
| 21 | +spring.datasource.test-on-borrow=true | ||
| 22 | +spring.datasource.test-on-connect=true | ||
| 23 | +spring.datasource.test-on-return=true | ||
| 24 | +spring.datasource.test-while-idle=true | ||
| 25 | +spring.datasource.validation-query=select 1 | ||
| 26 | + | ||
| 27 | +#REDIS | ||
| 28 | +spring.redis.database=0 | ||
| 29 | +spring.redis.host=192.168.168.200 | ||
| 30 | +spring.redis.password=bsth_control_001 | ||
| 31 | +spring.redis.port=28008 | ||
| 32 | + | ||
| 33 | +http.control.service_data_url= http://192.168.168.171:9088/companyService | ||
| 34 | +http.control.secret.key= dVPHJkWUt5FhMT7jrM2dLV7QvlHAmZFd42rs1P0usBx8A7HZki | ||
| 35 | + | ||
| 36 | +http.gps.real.url= http://192.168.168.171:8080/transport_server/rtgps/ | ||
| 44 | \ No newline at end of file | 37 | \ No newline at end of file |