Commit 8d1f570e by 张宗强

add prd config

parent 57565d68
#加密配置
jasypt:
encryptor:
password: proudkids
spring:
redis:
remote: true
host: 172.17.229.85
port: 6379
password: kiss
http:
multipart:
enabled: true
file-size-threshold: 10MB
max-file-size: 1000MB
max-request-size: 1000MB
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
cache:
redis:
expiration: 3601
ribbon:
Httpclient:
enabled: false
OkHttp:
enabled: true
ReadTimeout: 1800000
ConnectTimeout: 1800000
SocketTimeout: 1800000
feign:
hystrix:
enabled: true
okhttp:
enabled: true
httpclient:
enabled: false
client:
config:
feignName:
connectTimeout: 1800000
readTimeout: 1800000
hystrix:
command:
default:
execution:
timeout: #配置命令的执行,是否会超时
enabled: false
isolation: #命令的执行超时时间 超时将执行回退
thread:
timeoutInMilliseconds: 1800000
#监控短点配置
management:
security:
enabled: false
endpoints:
actuator:
enabled: true
shutdown:
enabled: false
proudkids:
oss-domain: https://files.proudkids.cn
app-domain: http://www.xiaoxiangce.proudkids.com
face:
app_key: 2UGEdBVxCuSNcj_l5UraisZ2Rw8WCDoE
app_secret: q2ZHLLsuiP65ynLyDmHF2VbMyqH_F2MD
faceset_prefix: test
server:
port: 4005
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 172.17.229.83
port: 5675
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: kiss
password: kiss123!@#
jdbc-url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: kiss
password: kiss123!@#
jdbc-url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.admin.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
logging:
config: classpath:logback.xml
file:
tmp:
location: /opt/tmp
mms:
smstools:
url: https://ce.proudkids.cn/mms/sms/v1/send?
sms:
sign: 骄傲吧孩子
sms.accessKeyId: LTAIAMiJjEYtdsGH
sms.accessKeySecret: 4NB3Fm7CnSCOeq9QI4RCckwR2yZOVu
allow_ip: 172.17.229.80;140.143.35.92;172.17.229.78;172.17.229.79;140.143.35.92;106.38.28.148;39.106.15.229;59.110.225.13;219.143.153.14;119.80.41.62;39.106.15.229;59.110.225.13;47.95.115.100;60.205.204.60;192.168.1.163;
domain: dysmsapi.aliyuncs.com
product: Dysmsapi
wechat:
compontent:
url: http://www.xiaoxiangce.proudkids.com/business/api/getWxOpenAuthInfo
auth:
url: http://www.xiaoxiangce.proudkids.com/business/api/getOrgWxOpenAuth
share:
template:
picture_url: https://files.proudkids.cn/courseware/template.png
server:
port: 3000
spring:
rabbitmq:
host: 172.17.229.83
port: 5675
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
batch:
job:
enabled : true
initializer:
enabled: false
datasource:
driver-class-name: com.mysql.jdbc.Driver
username: kiss
password: kiss123!@#
url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
proudkids:
auth:
clientId: ENC(rbxhyTerjSi2LATpOlQN0g==)
clientSecret: ENC(rbxhyTerjSi2LATpOlQN0g==)
scope: server
urls:
anon:
- /social
- /signin
- /signup
- /h5/token
- /admin/user/upload
- /admin/user/editInfo
- /#/business/authWxCallback/success
logging:
config: classpath:logback.xml
\ No newline at end of file
server:
port: 4006
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 172.17.229.83
port: 5675
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: kiss
password: kiss123!@#
jdbc-url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: kiss
password: kiss123!@#
jdbc-url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.admin.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
wechat:
open:
componentAppId: "wx0a693ececf7775d7"
componentSecret: "591faf379dd974942cc79c9093c43c68"
componentToken: "Proudkids"
componentAesKey: "DJvsl2MBMqqGRVYaAHAMQTDJvsl2MBMqqGRVYaAHAMQ"
api:
authCallbackUrl: "http://www.xiaoxiangce.proudkids.com/#/business/authWxCallback/success"
menu:
name: "小象册"
url: "http://www.xiaoxiangce.proudkids.com"
logging:
config: classpath:logback.xml
\ No newline at end of file
server:
port: 9999
spring:
rabbitmq:
host: 172.17.229.83
port: 5675
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 0.5
http:
multipart:
enabled: true
file-size-threshold: 100MB
max-file-size: 1000MB
max-request-size: 1000MB
encoding:
charset: UTF-8
enabled: true
force: true
zuul:
servlet-path: /zuul
ignoredServices: '*'
host:
connect-timeout-millis: 1800000
socket-timeout-millis: 1800000
routes:
kiss-auth:
path: /auth/**
serviceId: kiss-auth
stripPrefix: true
sensitiveHeaders:
kiss-upms-service:
path: /admin/**
serviceId: kiss-upms-service
stripPrefix: true
sensitiveHeaders:
kiss-business:
path: /business/**
serviceId: kiss-business
stripPrefix: true
sensitiveHeaders:
kiss-apps:
path: /apps/**
serviceId: kiss-apps
stripPrefix: true
sensitiveHeaders:
ratelimit:
key-prefix: kiss-ratelimite
enabled: true
repository: REDIS
behind-proxy: true
policies:
kiss-upms-service:
limit: 100
quota: 100
refresh-interval: 3
security:
validate:
code: true
sessions: stateless
oauth2:
resource:
loadBalanced: true
user-info-uri: http://kiss-auth/user
prefer-token-info: false
service-id: kiss-gateway
urls:
anon:
- /admin/user/upload
- /admin/user/editInfo
- /auth/**
- /admin/code/*
- /admin/user/info
- /admin/menu/userTree
- /admin/generate/**
- /swagger-resources/**
- /apps/h5/**
- /apps/share/card/**
- /apps/h5/album/detail/student/**
- /swagger-ui.html
- /*/v2/api-docs
- /swagger/api-docs
- /webjars/**
- /business/notify/**
- /business/api/**
- /business/authWxCallback/success
logging:
config: classpath:logback.xml
\ No newline at end of file
server:
port: 4000
#Redis cache 过期时间设置
redis:
cache:
expiration: 3600
# datasoure默认使用JDBC
spring:
rabbitmq:
host: 172.17.229.83
port: 5675
username: zzq223
password: 222222
zipkin:
rabbitmq:
queue: zipkin
sleuth:
sampler:
percentage: 1.0
# 分库分表支持
sharding:
jdbc:
defaultDataSourceName:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: kiss
password: kiss123!@#
jdbc-url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
datasource:
names: ds
ds:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.jdbc.Driver
username: kiss
password: kiss123!@#
jdbc-url: jdbc:mysql://172.17.229.85:3306/proudkids_kiss?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
#mybaits-plus配置,修改主键类型,mapper.xml、type 别名等
mybatis-plus:
mapper-locations: classpath:/mapper/*Mapper.xml
typeAliasesPackage: com.proudkids.admin.model.entity
global-config:
#主键类型 0:"数据库ID自增", 1:"用户输入ID",2:"全局唯一ID (数字类型唯一ID)", 3:"全局唯一ID UUID";
id-type: 0
#字段策略 0:"忽略判断",1:"非 NULL 判断"),2:"非空判断"
field-strategy: 1
#驼峰下划线转换
db-column-underline: true
#刷新mapper 调试神器
refresh-mapper: true
#数据库大写下划线转换
#capital-mode: true
configuration:
map-underscore-to-camel-case: true
cache-enabled: true
logging:
config: classpath:logback.xml
wechat:
access_token:
url: http://wechat.proudkids.cn/weixinAccessController.do?getAccessToken&accountid=gh_b94dbecca2cf
ruser:
openId:
url: http://wechat.proudkids.cn/weixinAccessController.do?getAccessToken&accountid=gh_b94dbecca2cf
appid: wx2d17f5ef6a69a2ff
secret: 2a90355c5b4f03f883f9374f31dee995
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment