Commit 6d5a78c823a012ffb85a6fc3ad24b135b778a971

Authored by 王通
1 parent 9dd13cb7

1.

src/main/resources/application-iraq.properties 0 → 100644
  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://127.0.0.1/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=127.0.0.1
  29 +spring.redis.password=LHjDZkwL2y41IvQk
  30 +spring.redis.port=16379
  31 +
  32 +http.control.service_data_url= http://127.0.0.1:9088/companyService
  33 +http.control.secret.key= dVPHJkWUt5FhMT7jrM2dLV7QvlHAmZFd42rs1P0usBx8A7HZki
  34 +
  35 +http.gps.real.url= http://127.0.0.1:8080/transport_server/rtgps/
  36 +
  37 +ms.mysql.driver= com.mysql.jdbc.Driver
  38 +ms.mysql.url= jdbc:mysql://127.0.0.1/ms?useUnicode=true&characterEncoding=utf-8
  39 +ms.mysql.username= root
  40 +ms.mysql.password= root2jsp
0 41 \ No newline at end of file
... ...
src/main/resources/application.properties
1   -spring.profiles.active= ghx
  1 +spring.profiles.active= iraq
2 2  
3 3 spring.view.suffix=.html
4 4 server.session-timeout=-1
... ...