All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 46s
42 lines
900 B
JSON
42 lines
900 B
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"provider": {
|
|
"anthropic": {
|
|
"options": {
|
|
"baseURL": "http://45.155.220.179:8317/v1",
|
|
"apiKey": "sk-ZBGcMXCdwtSK7G35s"
|
|
}
|
|
},
|
|
"google": {
|
|
"options": {
|
|
"baseURL": "http://45.155.220.179:8317",
|
|
"apiKey": "sk-ZBGcMXCdwtSK7G35s"
|
|
}
|
|
}
|
|
},
|
|
"mcp": {
|
|
"context7": {
|
|
"type": "remote",
|
|
"url": "https://mcp.context7.com/mcp",
|
|
"enabled": true,
|
|
"timeout": 10000
|
|
},
|
|
"postgres": {
|
|
"type": "local",
|
|
"command": [
|
|
"docker",
|
|
"run",
|
|
"-i",
|
|
"--rm",
|
|
"-e",
|
|
"DATABASE_URI",
|
|
"crystaldba/postgres-mcp",
|
|
"--access-mode=restricted"
|
|
],
|
|
"environment": {
|
|
"DATABASE_URI": "postgresql://erp_pgsql:erp_2025@cxd.whcxd.cn:16159/junhong_cmp_test?sslmode=disable"
|
|
}
|
|
}
|
|
}
|
|
}
|