Files
boot/jnpf-admin/src/main/resources/application-dev.yml
T

152 lines
7.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
server:
tomcat: {uri-encoding: UTF-8, max-part-count: 1000}
port: 30000
spring:
messages: {basename: i18n/message, cache-duration: 24H}
devtools:
restart: {enabled: true}
freemarker: {cache: false}
thymeleaf: {cache: false}
claude:
api: {url: 'https://api.minimaxi.com/anthropic/v1/messages', key: sk-cp-_ZEM-BIKTgHuTSEwyotKnm8C3Mu0l3jEyOc0Jh2UwdXRUBYcPwLLc4dz3tACJO3hMeWXJ6dKCJuu2lKUtw45RWV798Xw_JOZv0UxCyIaGFuv_j_gWHcp17c,
model: MiniMax-M2.7}
threads:
virtual: {enabled: true}
exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
datasource:
db-type: MySQL
host: mariadb
port: 3306
username: root
password: 2213
db-name: j62
db-schema: null
prepare-url: null
dynamic:
primary: master
strict: true
druid:
test-while-idle: true
time-between-eviction-runs-millis: 60000
max-wait: 3000
initial-size: 4
max-active: 20
min-idle: 4
keep-alive: true
connect-timeout: 10000
socket-timeout: 10000
query-timeout: 90000
transaction-query-timeout: 90000
slf4j: {statementLogEnabled: true, resultSetLogEnabled: false, connectionLogEnabled: false,
dataSourceLogEnabled: false, statementCreateAfterLogEnabled: false, statementCloseAfterLogEnabled: false,
statementExecuteAfterLogEnabled: false, statementExecutableSqlLogEnable: true,
statementPrepareAfterLogEnabled: false, statementPrepareCallAfterLogEnabled: false,
statementParameterSetLogEnabled: false}
datasource:
sswportal: {url: 'jdbc:mysql://${spring.datasource.host}
jxcj: {url: 'jdbc:mysql://${spring.datasource.host}:${spring.datasource.port}/jxcj?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowMultiQueries=true&serverTimezone=UTC',
username: '${spring.datasource.username}', password: '${spring.datasource.password}',
driver-class-name: com.mysql.cj.jdbc.Driver}
username: '${spring.datasource.username}', password: '${spring.datasource.password}',
driver-class-name: com.mysql.cj.jdbc.Driver}
redis:
redisson:
config: |
singleServerConfig:
database: 1 # Redis数据库编号(0-15)
address: "redis://redis:6379" # Redis节点地址
password: "123456" # Redis密码
timeout: 10000 # 读取超时(毫秒)
connectTimeout: 10000 # 连接超时(毫秒)
connectionMinimumIdleSize: 24 # 最小空闲连接数
connectionPoolSize: 64 # 最大连接池大小
threads: 4 # Redisson业务线程数
nettyThreads: 8 # Netty IO线程数
codec: !<org.redisson.codec.JsonJacksonCodec> {} # 序列化方式:JSON
cloud:
stream:
rocketmq:
binder: {name-server: '192.168.10.6:30094', group: maxkey_identity}
bindings:
ssoEventReceiver-in-0: {content-type: text/json, destination: MXK_IDENTITY_MAIN_TOPIC,
group: maxkey_identity}
ai:
openai: {user-limit-count: 1, user-limit-time: 3s, total-limit-count: 500, total-limit-time: 1m}
mybatis-plus:
mapper-locations: classpath*:mapper/**/*.xml
type-aliases-package: jnpf.**.entity,ssw.**.entity
global-config:
db-config: {id-type: assign_id}
configuration: {call-setters-on-nulls: true, jdbc-type-for-null: 'NULL', log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl}
springdoc:
default-flat-param-object: true
api-docs: {enabled: true}
lock4j:
aop: {enabled: false}
config:
TestVersion: false
ocrUrl: http://192.168.10.12:10888
sharding-sphere-enabled: false
file-storage:
default-platform: local-plus-1
thumbnail-suffix: .thumb.jpg
local-plus:
- {platform: local-plus-1, enable-storage: true, enable-access: true, domain: '',
base-path: /home/ubuntu/ccWorkDir/boot/resources/, path-patterns: /**, storage-path: null}
aliyun-oss:
- {platform: aliyun-oss-1, enable-storage: false, access-key: '??', secret-key: '??',
end-point: '??', bucket-name: '??', domain: '??', base-path: hy/}
qiniu-kodo:
- {platform: qiniu-kodo-1, enable-storage: false, access-key: '??', secret-key: '??',
bucket-name: '??', domain: '??', base-path: base/}
tencent-cos:
- {platform: tencent-cos-1, enable-storage: false, secret-id: '??', secret-key: '??',
region: '??', bucket-name: '??', domain: '??', base-path: hy/}
minio:
- {platform: minio-1, enable-storage: true, access-key: 9Y3sjaDWgbxKjXjm, secret-key: Bs2GyJwmOLpqNsQwbDjdinyUJQHtM0rc,
end-point: 'http://192.168.0.207:9000/', bucket-name: v350, domain: '${config.file-storage.minio[0].end-point}',
base-path: null}
socials:
socials-enabled: false
config:
- {provider: ymsso, client-id: 768085549729714693, domain-prefix: 'http://127.0.0.1:33000',
client-secret: 8999753b453f430c8851b658c4ca507f}
- {provider: wechat_open, client-id: your-client-id, client-secret: your-client-secret}
- {provider: wechat_enterprise, client-id: your-client-id, client-secret: your-client-secret,
agentId: your-agentId}
- {provider: dingtalk, client-id: your-client-id, client-secret: your-client-secret,
agentId: your-agentId}
- {provider: feishu, client-id: your-client-id, client-secret: your-client-secret}
- {provider: wechat_applets, client-id: your-client-id, client-secret: your-client-secret}
xxl:
job:
admin: {accessToken: 432e62f3b488bc861d91b0e274e850cc, addresses: 'http://xxl:30020/xxl-job-admin/',
timeout: 3}
executor: {address: '', appname: xxl-job-executor-custom, ip: '', port: 39999,
logpath: /data/applogs/xxl-job/jobhandler, logretentiondays: 30}
jnpf:
sso:
connector: {enabled: false}
pull: {enabled: false, create-rest-address: 'http://localhost:9526/sso-mgt-api/api/idm/Account',
replace-rest-address: 'http://localhost:9526/sso-mgt-api/api/idm/Account', change-password-rest-address: 'http://localhost:9526/sso-mgt-api/api/idm/Account/changePassword',
delete-rest-address: 'http://localhost:9526/sso-mgt-api/api/idm/Account', credential-type: Basic,
user-name: 747887288041603072, password: MYgMMjIwNzIwMjIxNTU4MTAxNzQlKQ}
oauth:
ssoEnabled: false
ticketTimeout: 120
defaultSSO: cas
loginPath: http://127.0.0.1:30000/api/oauth/Login
sso:
baseUrl: http://127.0.0.1:8527
sucessFrontUrl: http://127.0.0.1:3000/sso
ticketOutMessage: false
auth2: {enabled: true, clientId: 747887288041603072, clientSecret: MYgMMjIwNzIwMjIxNTU4MTAxNzQlKQ,
baseUrl: '${oauth.sso.baseUrl}', authorizeUrl: '${oauth.sso.auth2.baseUrl}/sign/authz/oauth/v20/authorize',
accessTokenUrl: '${oauth.sso.auth2.baseUrl}/sign/authz/oauth/v20/token', userInfoUrl: '${oauth.sso.auth2.baseUrl}/sign/api/oauth/v20/me'}
cas: {enabled: true, baseUrl: '${oauth.sso.baseUrl}', serverLoginUrl: '${oauth.sso.cas.baseUrl}/sign/authz/cas/login',
serverValidateUrl: '${oauth.sso.cas.baseUrl}/sign/authz/cas'}
stripe: {enabled: true, sandbox: true, secretKey: sk_test_51PlaceholderReplaceWithYourStripeSecretKey,
publishableKey: pk_test_PlaceholderReplaceWithYourStripePublishableKey, webhookSecret: whsec_PlaceholderReplaceWithYourWebhookSecret,
orderPrefix: DR, successUrl: 'http://127.0.0.1:3000/jnpf_app_dr/payment/success',
cancelUrl: 'http://127.0.0.1:3000/jnpf_app_dr/payment/cancel'}