mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-09 10:56:50 +08:00
预发布环境配置文件修改
This commit is contained in:
@@ -1,19 +1,19 @@
|
|||||||
## redis
|
## redis
|
||||||
spring.redis.database=2
|
spring.redis.database=3
|
||||||
spring.redis.host=127.0.0.1
|
spring.redis.host=10.251.129.122
|
||||||
spring.redis.password=ENC(zA5LNV8xw3yEx6LMwdGGBGgNsOaD3Cg+)
|
spring.redis.password=qwert!W588
|
||||||
spring.redis.port=6379
|
spring.redis.port=6379
|
||||||
|
|
||||||
## datasource config
|
## datasource config
|
||||||
spring.jpa.hibernate.ddl-auto=update
|
spring.jpa.hibernate.ddl-auto=none
|
||||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||||
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
# spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/boe_base1?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
spring.datasource.url=jdbc:mysql://10.251.129.126:3306/boe_base?useSSL=false&useUnicode=true&characterEncoding=UTF8&zeroDateTimeBehavior=convertToNull
|
||||||
spring.datasource.username=root
|
spring.datasource.username=admin
|
||||||
spring.datasource.password=ENC(lAoFOYuc8CAypPtigTNLYg==)
|
spring.datasource.password=boeRds01
|
||||||
|
|
||||||
logging.level.org.hibernate.SQL=DEBUG
|
logging.level.org.hibernate.SQL=ERROR
|
||||||
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||||
|
|
||||||
# 设置logback.xml位置
|
# 设置logback.xml位置
|
||||||
logging.config=classpath:log/logback-pro.xml
|
logging.config=classpath:log/logback-pro.xml
|
||||||
@@ -25,12 +25,12 @@ spring.web.resources.static-locations=file:E:/Projects/BOE/java/static
|
|||||||
xboe.api.cross_filter=true
|
xboe.api.cross_filter=true
|
||||||
|
|
||||||
## 上传相磁的路径配置
|
## 上传相磁的路径配置
|
||||||
xboe.upload.file.temp_path=E:/Projects/BOE/java/static/temp
|
xboe.upload.file.temp_path=/tmp
|
||||||
xboe.upload.file.save_path=E:/Projects/BOE/java/static/upload
|
xboe.upload.file.save_path=/home/www/elearning/upload
|
||||||
xboe.upload.file.http_path=http://localhost:9090/cdn/upload
|
xboe.upload.file.http_path=https://u.boe.com/upload
|
||||||
|
|
||||||
## 外部接口调用地址 旧系统机构及用户数据接口
|
## 外部接口调用地址 旧系统机构及用户数据接口
|
||||||
xboe.externalinterface.url.system=http://localhost:9091
|
xboe.externalinterface.url.system=http://127.0.0.1:9091
|
||||||
|
|
||||||
## 新增加的教师的内部调用接口
|
## 新增加的教师的内部调用接口
|
||||||
xboe.old.base.url=https://u.boe.com
|
xboe.old.base.url=https://u.boe.com
|
||||||
@@ -41,7 +41,7 @@ jasypt.encryptor.algorithm=PBEWithMD5AndDES
|
|||||||
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
|
jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator
|
||||||
|
|
||||||
# elasticsearch config
|
# elasticsearch config
|
||||||
xboe.elasticsearch.server.ip=127.0.0.1
|
xboe.elasticsearch.server.ip=10.251.129.21
|
||||||
xboe.elasticsearch.server.port=9200
|
xboe.elasticsearch.server.port=9200
|
||||||
xboe.elasticsearch.server.user=
|
xboe.elasticsearch.server.user=
|
||||||
xboe.elasticsearch.server.password=
|
xboe.elasticsearch.server.password=
|
||||||
|
|||||||
Reference in New Issue
Block a user