mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
案例配置
This commit is contained in:
@@ -1,17 +1,33 @@
|
|||||||
|
## redis
|
||||||
|
spring.redis.database=3
|
||||||
|
spring.redis.host=10.251.129.122
|
||||||
|
spring.redis.password=qwert!W588
|
||||||
|
spring.redis.port=6379
|
||||||
|
|
||||||
## datasource config
|
## datasource config
|
||||||
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_base?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=ERROR
|
logging.level.org.hibernate.SQL=ERROR
|
||||||
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||||
|
|
||||||
|
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
||||||
|
spring.web.resources.static-locations=file:E:/Projects/BOE/java/static
|
||||||
|
|
||||||
## xboe config
|
## xboe config
|
||||||
xboe.api.cross_filter=true
|
xboe.api.cross_filter=true
|
||||||
|
|
||||||
|
## 上传相磁的路径配置
|
||||||
|
xboe.upload.file.temp_path=/tmp
|
||||||
|
xboe.upload.file.save_path=/home/www/elearning/upload
|
||||||
|
xboe.upload.file.http_path=https://u.boe.com/upload
|
||||||
|
|
||||||
|
## 外部接口调用地址 旧系统机构及用户数据接口
|
||||||
|
xboe.externalinterface.url.system=http://127.0.0.1:9091
|
||||||
|
xboe.old.base.url=https://u.boe.com
|
||||||
|
|
||||||
## 案例接口配置
|
## 案例接口配置
|
||||||
## 案例接口配置,init 是否需要初始化
|
## 案例接口配置,init 是否需要初始化
|
||||||
|
|||||||
@@ -1,19 +1,33 @@
|
|||||||
|
## redis
|
||||||
|
spring.redis.database=3
|
||||||
|
spring.redis.host=10.251.129.122
|
||||||
|
spring.redis.password=qwert!W588
|
||||||
|
spring.redis.port=6379
|
||||||
|
|
||||||
## datasource config
|
## datasource config
|
||||||
spring.jpa.show-sql = false
|
|
||||||
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_base?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=ERROR
|
logging.level.org.hibernate.SQL=ERROR
|
||||||
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
# logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
|
||||||
|
|
||||||
|
## 静态文件目录,默认是在static下面,以后独立到nginx下面配置
|
||||||
|
spring.web.resources.static-locations=file:E:/Projects/BOE/java/static
|
||||||
|
|
||||||
## xboe config
|
## xboe config
|
||||||
xboe.api.cross_filter=true
|
xboe.api.cross_filter=true
|
||||||
|
|
||||||
|
## 上传相磁的路径配置
|
||||||
|
xboe.upload.file.temp_path=/tmp
|
||||||
|
xboe.upload.file.save_path=/home/www/elearning/upload
|
||||||
|
xboe.upload.file.http_path=https://u.boe.com/upload
|
||||||
|
|
||||||
|
## 外部接口调用地址 旧系统机构及用户数据接口
|
||||||
|
xboe.externalinterface.url.system=http://127.0.0.1:9091
|
||||||
|
xboe.old.base.url=https://u.boe.com
|
||||||
|
|
||||||
## 案例接口配置
|
## 案例接口配置
|
||||||
## 案例接口配置,init 是否需要初始化
|
## 案例接口配置,init 是否需要初始化
|
||||||
|
|||||||
Reference in New Issue
Block a user