system-ai-shop/src/main/resources/application-lanproxy.yml

126 lines
3.6 KiB
YAML
Raw Normal View History

2024-04-15 11:57:29 +08:00
server:
port: 9001
url: http://121.36.71.250:58086/aishop
system-title: AI商城
system-sub-title: AI商城
default-home-page: agent/index/home
nav-page: ${api-path.user-center}
servlet:
context-path: /aishop
spring:
login-url: /oauth/login
login-failure: /oauth/login?error
login-process: /userlogin
assets-matchers: /assets/**,/inspur/**,
thymeleaf:
prefix: classpath:/templates/
suffix: .html
mode: HTML5
encoding: UTF-8
cache: false
main:
allow-bean-definition-overriding: true
servlet:
multipart:
max-file-size: 1GB
max-request-size: 1GB
datasource:
druid:
url: jdbc:mysql://192.168.0.151:3306/db_system_ai_shop?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false&serverTimezone=UTC&nullCatalogMeansCurrent=true
db-type: mysql
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: root
initial-size: 2
min-idle: 2
max-active: 200
max-wait: 60000
time-between-eviction-runs-millis: 60000
min-evictable-idle-time-millis: 300000
validation-query: SELECT 1 FROM DUAL
test-while-idle: true
test-on-borrow: false
test-on-return: false
pool-prepared-statements: true
max-pool-prepared-statement-per-connection-size: 10
filter:
commons-log:
connection-logger-name: stat,wall,log4j
stat:
log-slow-sql: true
slow-sql-millis: 2000
connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
use-global-data-source-stat: true
mybatis:
config-location: classpath:mybatis/mybatis-config.xml
mapper-locations: classpath*:mybatis/mapper/**/*.xml
access-control:
role-permission: false
swagger:
base-package-list: ink.wgink,cn.com.tenlion
file:
upload-path: D:\CF_work\ideaWorkSpace\uploadFiles\system-aishop
image-types: png,jpg,jpeg,gif,blob
video-types: mp4,rmvb
audio-types: mp3,wmv,amr
file-types: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk,pdf
max-file-count: 6
image-output-quality: 0.4
# 启用minIo
use-min-io: false
# 与use-min-io配套使用
min-io:
endpoint: http://192.168.158.17:9001
access-key: smartcity
secret-key: smartcity
api-path:
user-center: http://121.36.71.250:58085/operator
client-id: 80ce03b81034487e9c348236d7a26dd6
client-secret: K09jUGNsWS81YlFSTXU5K1RuOFFRbGE4V1M1NS81VFhMcFBKa1NubGtIL2xIdG9KZmEyTjJIRnI0dG1McEdEVA==
security:
oauth2:
oauth-server: ${api-path.user-center}
oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} #外网
client:
client-id: ${api-path.client-id}
client-secret: ${api-path.client-secret}
user-authorization-uri: ${security.oauth2.oauth-server}/oauth2_client/authorize #外网
access-token-uri: ${api-path.user-center}/oauth2_client/token
grant-type: authorization_code
resource:
jwt:
key-uri: ${api-path.user-center}/oauth2_client/token_key
token-info-uri: ${api-path.user-center}/oauth2_client/check_token
user-info-uri: ${api-path.user-center}/user
authorization:
check-token-access: ${api-path.user-center}/oauth2_client/token_key
logging:
enable-api-log: false
file:
name: D:\CF_work\ideaWorkSpace\uploadFiles\system-ai-agent\logs\system-aishop.log
level:
root: error
ink.wgink: debug
agent:
# 账户系统地址
account-service-path: http://121.36.71.250:58085/operator
# 客户系统地址
copyright-service-path: http://121.36.71.250:58038/copyright
# 门户系统地址
menhu-service-path: http://192.168.0.4:7023/portal