forked from higress-group/himarket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yml
More file actions
109 lines (102 loc) · 3.05 KB
/
application.yml
File metadata and controls
109 lines (102 loc) · 3.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
spring:
datasource:
url: jdbc:mariadb://${db.host}:${db.port}/${db.name}?createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true&useSSL=false&serverTimezone=UTC
username: ${db.username}
password: ${db.password}
driver-class-name: org.mariadb.jdbc.Driver
jpa:
hibernate:
ddl-auto: none
show-sql: false
properties:
hibernate:
format_sql: true
servlet:
multipart:
max-file-size: 10MB
max-request-size: 100MB
db:
host: ${DB_HOST:localhost}
port: ${DB_PORT:3306}
name: ${DB_NAME:himarket}
username: ${DB_USERNAME:root}
password: ${DB_PASSWORD:12345678}
# Encryptor
encryption:
root-key: portalmanagement
springdoc:
api-docs:
enabled: true
path: /portal/v3/api-docs
swagger-ui:
path: /portal/swagger-ui.html
disable-swagger-default-url: true
packages-to-scan: com.alibaba.himarket.controller
jwt:
secret: ${JWT_SECRET:YourJWTSecret}
expiration: 7d
acp:
terminal-enabled: ${ACP_TERMINAL_ENABLED:false}
default-provider: ${ACP_DEFAULT_PROVIDER:qwen-code}
default-runtime: ${ACP_DEFAULT_RUNTIME:remote}
remote:
host: ${ACP_REMOTE_HOST:sandbox-shared}
port: ${ACP_REMOTE_PORT:8080}
providers:
qwen-code:
display-name: Qwen Code
command: ${ACP_CLI_COMMAND_QWEN:qwen}
args: ${ACP_CLI_ARGS_QWEN:--acp}
compatible-runtimes:
- REMOTE
supports-custom-model: true
supports-mcp: true
supports-skill: true
qodercli:
display-name: Qoder CLI
command: ${ACP_CLI_COMMAND_QODERCLI:qodercli}
args: ${ACP_CLI_ARGS_QODERCLI:--acp}
compatible-runtimes:
- REMOTE
auth-options: default,personal_access_token
auth-env-var: QODER_PERSONAL_ACCESS_TOKEN
claude-code:
display-name: Claude Code
command: ${ACP_CLI_COMMAND_CLAUDE:claude-agent-acp}
args: ${ACP_CLI_ARGS_CLAUDE:}
compatible-runtimes:
- REMOTE
auth-env-var: ANTHROPIC_API_KEY
supports-custom-model: true
supports-mcp: true
supports-skill: true
opencode:
display-name: OpenCode
command: ${ACP_CLI_COMMAND_OPENCODE:opencode}
args: ${ACP_CLI_ARGS_OPENCODE:acp}
compatible-runtimes:
- REMOTE
supports-custom-model: true
supports-mcp: true
supports-skill: true
observability:
log-source: ${OBSERVABILITY_LOG_SOURCE:SLS}
sls:
# SLS服务端点(必填)
# cn-chengdu.log.aliyuncs.com
endpoint: ${SLS_ENDPOINT:}
# 认证方式:STS 或 AK_SK
auth-type: ${SLS_AUTH_TYPE:STS}
# AK/SK认证方式的密钥(仅当 auth-type=AK_SK 时生效)
access-key-id: ${SLS_ACCESS_KEY_ID:}
access-key-secret: ${SLS_ACCESS_KEY_SECRET:}
# 默认Project名称
default-project: ${SLS_DEFAULT_PROJECT:apigateway-csb-cop}
# 默认Logstore名称
default-logstore: ${SLS_DEFAULT_LOGSTORE:apig-access-log}
# AliyunLogConfig CR 配置
aliyun-log-config:
# CR所在的namespace
namespace: ${SLS_ALIYUN_LOG_CONFIG_NAMESPACE:apigateway-system}
# CR的名称
cr-name: ${SLS_ALIYUN_LOG_CONFIG_CR_NAME:apigateway-access-log}