Commit dc2c912971c00ba45b3ecc1c8ad458dc0184c94d
1 parent
a7dc8893
1.chengdu分支配置变更
Showing
5 changed files
with
24 additions
and
25 deletions
src/main/resources/application-prod.properties
| @@ -8,9 +8,9 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | @@ -8,9 +8,9 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | ||
| 8 | spring.jpa.database= MYSQL | 8 | spring.jpa.database= MYSQL |
| 9 | spring.jpa.show-sql= false | 9 | spring.jpa.show-sql= false |
| 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://10.10.150.103:3306/control?useUnicode=true&characterEncoding=utf-8&useSSL=false | 11 | +spring.datasource.url= jdbc:mysql://10.10.2.20/control_dy?useUnicode=true&characterEncoding=utf-8&useSSL=false |
| 12 | spring.datasource.username= root | 12 | spring.datasource.username= root |
| 13 | -spring.datasource.password= fsodlgjiuigAQF2$9fs9 | 13 | +spring.datasource.password= root2jsp |
| 14 | #DATASOURCE | 14 | #DATASOURCE |
| 15 | spring.datasource.max-active=100 | 15 | spring.datasource.max-active=100 |
| 16 | spring.datasource.max-idle=8 | 16 | spring.datasource.max-idle=8 |
src/main/resources/application.properties
| 1 | -spring.profiles: dev,prod | ||
| 2 | -spring.profiles.active: prod | ||
| 3 | - | ||
| 4 | -spring.view.suffix=.html | ||
| 5 | -server.session-timeout=-1 | ||
| 6 | -security.basic.enabled=false | ||
| 7 | - | ||
| 8 | -# \u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F\u9650\u5236\u914D\u7F6E | ||
| 9 | -# File size limit | ||
| 10 | -multipart.maxFileSize = -1 | ||
| 11 | -# Total request size for a multipart/form-data | ||
| 12 | -multipart.maxRequestSize = -1 | ||
| 13 | - | ||
| 14 | -server.compression.enabled=true | ||
| 15 | -server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,text/javascript,text/css,application/javascript | ||
| 16 | - | ||
| 17 | -#redis | ||
| 18 | -cache.days=15 | 1 | +spring.profiles.active= prod |
| 2 | + | ||
| 3 | +spring.view.suffix=.html | ||
| 4 | +server.session-timeout=-1 | ||
| 5 | +security.basic.enabled=false | ||
| 6 | + | ||
| 7 | +# \u4E0A\u4F20\u6587\u4EF6\u5927\u5C0F\u9650\u5236\u914D\u7F6E | ||
| 8 | +# File size limit | ||
| 9 | +multipart.maxFileSize = -1 | ||
| 10 | +# Total request size for a multipart/form-data | ||
| 11 | +multipart.maxRequestSize = -1 | ||
| 12 | + | ||
| 13 | +server.compression.enabled=true | ||
| 14 | +server.compression.mime-types=application/json,application/xml,text/html,text/xml,text/plain,text/javascript,text/css,application/javascript | ||
| 15 | + | ||
| 16 | +#redis | ||
| 17 | +cache.days=15 |
src/main/resources/logback.xml
| @@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
| 3 | <configuration> | 3 | <configuration> |
| 4 | 4 | ||
| 5 | <!-- <property resource="application.properties" /> --> | 5 | <!-- <property resource="application.properties" /> --> |
| 6 | - <property name="LOG_BASE" value="/home/control/control_interface_logs" /> | 6 | + <property name="LOG_BASE" value="/data/control/control_interface_logs" /> |
| 7 | <!-- 控制台输出 --> | 7 | <!-- 控制台输出 --> |
| 8 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | 8 | <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> |
| 9 | 9 |
src/main/resources/ms-jdbc.properties
| @@ -4,6 +4,6 @@ | @@ -4,6 +4,6 @@ | ||
| 4 | #ms.mysql.password= panzhao | 4 | #ms.mysql.password= panzhao |
| 5 | 5 | ||
| 6 | ms.mysql.driver= com.mysql.jdbc.Driver | 6 | ms.mysql.driver= com.mysql.jdbc.Driver |
| 7 | -ms.mysql.url= jdbc:mysql://10.10.150.103/ms?useUnicode=true&characterEncoding=utf-8 | 7 | +ms.mysql.url= jdbc:mysql://10.10.2.20/ms?useUnicode=true&characterEncoding=utf-8 |
| 8 | ms.mysql.username= root | 8 | ms.mysql.username= root |
| 9 | -ms.mysql.password= Aa123456 | ||
| 10 | \ No newline at end of file | 9 | \ No newline at end of file |
| 10 | +ms.mysql.password= root2jsp | ||
| 11 | \ No newline at end of file | 11 | \ No newline at end of file |
src/main/resources/xxfb-jdbc.properties
| @@ -4,6 +4,6 @@ | @@ -4,6 +4,6 @@ | ||
| 4 | #xxfb.mysql.password= panzhao | 4 | #xxfb.mysql.password= panzhao |
| 5 | 5 | ||
| 6 | xxfb.mysql.driver= com.mysql.jdbc.Driver | 6 | xxfb.mysql.driver= com.mysql.jdbc.Driver |
| 7 | -xxfb.mysql.url= jdbc:mysql://10.10.150.113/info_publish?useUnicode=true&characterEncoding=utf-8 | 7 | +xxfb.mysql.url= jdbc:mysql://10.10.2.20/info_publish?useUnicode=true&characterEncoding=utf-8 |
| 8 | xxfb.mysql.username= root | 8 | xxfb.mysql.username= root |
| 9 | -xxfb.mysql.password= Aa123456 | ||
| 10 | \ No newline at end of file | 9 | \ No newline at end of file |
| 10 | +xxfb.mysql.password= root2jsp | ||
| 11 | \ No newline at end of file | 11 | \ No newline at end of file |