118 lines
4.4 KiB
Plaintext
118 lines
4.4 KiB
Plaintext
# 应用名称,减少代码中的硬编码,方便后期更换 - 苏奇亮
|
||
app:
|
||
clientId:
|
||
# 管理后台
|
||
systemBackend: SystemBackend
|
||
systemBackendSecret: SystemBackend
|
||
# 主站
|
||
bitahub: BITAHUB
|
||
bitahubSecret: BITAHUB
|
||
# 用户中心
|
||
userCenter: usercenter
|
||
|
||
# 文件中心地址-徐旭
|
||
fileCenter:
|
||
url: http://pai-file-center:8080
|
||
|
||
# 后台管理模块
|
||
paisystembackend:
|
||
url: http://pai-system-backend:8080
|
||
|
||
|
||
# 用户中心配置信息-邓林峰
|
||
userCenter:
|
||
host: http://usercenter:8080
|
||
outHost: http://10.0.101.221:30001
|
||
clientId: BITAHUB
|
||
clientSecret: BITAHUB
|
||
remote:
|
||
tokenPath: /oauth/token?grant_type=username&username=<#EMAIL#>&userId:<#USERID#>
|
||
userSyncPath: /usercenter/user/sync
|
||
userSource: 100
|
||
#节点告警需要的用户id-崔冬冬
|
||
system:
|
||
userId: 9fedf53c3d784e74b9cf428c6825b78e
|
||
|
||
# 主站url地址,各个环境需要修改-苏奇亮
|
||
bitahub:
|
||
web:
|
||
url: http://10.0.101.221/console/
|
||
|
||
# 评论点赞公共服务地址-许金涛
|
||
commonService:
|
||
url: http://pai-common-service:8080
|
||
|
||
# 数据集服务地址-徐旭
|
||
datasetService:
|
||
url: http://pai-dataset-service:8080
|
||
|
||
# 消息中间件服务-邓林峰
|
||
messageService:
|
||
host: http://message-service:8080
|
||
|
||
# 系统组GO服务-苏奇亮
|
||
goServer:
|
||
host: http://ks-apiserver.kubesphere-system.svc.cluster.local
|
||
# 各个环境都需修改
|
||
outerHost: http://10.0.101.221
|
||
#管理后台,训练服务用到-俊保
|
||
training:
|
||
workspaces: bitahub
|
||
namespace: bita-user
|
||
#训练服务用到-俊保
|
||
bitahub:
|
||
workspaces: bitahub
|
||
namespace: bita-user
|
||
#推理服务命名空间配置-俊保
|
||
inference:
|
||
workspaces: bitahub
|
||
namespace: inference
|
||
# 新增的,文件下载器配置-邓林峰
|
||
file:
|
||
workspaces: bitahub
|
||
namespace: storage
|
||
#创建任务url模版
|
||
jobAPI: /lapis/clusters/host/jobserver.leinao.ai/v1/workspaces/<workspace>/namespaces/<namespace>/jobs/<jobName>
|
||
#各个环境需要修改,底层认证token,目前开发环境、正式环境、预发环境是一致的
|
||
token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImFkbWluIiwidG9rZW5fdHlwZSI6ImFjY2Vzc190b2tlbiIsImlhdCI6MTY2OTcxMDE3OSwiaXNzIjoia3ViZXNwaGVyZSIsIm5iZiI6MTY2OTcxMDE3OX0.k_cat5SCPIuiquFy2gWik6Bm73iOF0S7kZRg3m4BLvc
|
||
#token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VybmFtZSI6ImJpdGFodWIiLCJ0b2tlbl90eXBlIjoiYWNjZXNzX3Rva2VuIiwiaWF0IjoxNjM5NzMyMzExLCJpc3MiOiJrdWJlc3BoZXJlIiwibmJmIjoxNjM5NzMyMzExfQ.vI9FPEoIOR2TTVHVQAkSTcMQ5Fj75K1z9GPIEp1g7bc
|
||
|
||
|
||
#文件存储目录-苏奇亮
|
||
path:
|
||
# 已废弃,暂保留
|
||
base: /ghome/
|
||
# 训练项目目录
|
||
project: /projects/
|
||
# 数据集路径
|
||
dataset: /datasets/
|
||
# 模型路径
|
||
models: /models/
|
||
#缓存路径
|
||
temp: /gdata/temp/
|
||
# 工单目录
|
||
workorder: /gdata/temp/workorder/
|
||
|
||
#运维管理后台在用户中心的标识-许金涛
|
||
systemBackend:
|
||
clientId: SystemBackend
|
||
|
||
|
||
#命令行密钥-崔冬冬
|
||
rsa:
|
||
#token加密公钥/私钥
|
||
token:
|
||
publicKey:
|
||
key: MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDhT/Dbonjig9sUB3ld5ggjsj6fdX4wCvrpI+MfkTXONa6UPAixjJKDZSdkZSohgh5me24NdhO8MUvjsmXptRvWqYCiQw/bi1cipOzxYjI/QJI5CXeugcVoiFR0nkXBYuFxhRZnWbsYF28kB9FG1rW/wKi876nzL+q+BoD/9aBxzwIDAQAB
|
||
privateKey:
|
||
key: MIICXQIBAAKBgQDhT/Dbonjig9sUB3ld5ggjsj6fdX4wCvrpI+MfkTXONa6UPAixjJKDZSdkZSohgh5me24NdhO8MUvjsmXptRvWqYCiQw/bi1cipOzxYjI/QJI5CXeugcVoiFR0nkXBYuFxhRZnWbsYF28kB9FG1rW/wKi876nzL+q+BoD/9aBxzwIDAQABAoGANr0nNRUJ7W4/YWRXdhqWy6VYVYFEAQQJ5W5Ulay/t7OPEHBtZEVUqxt+MIPrcmycWiWOnTKcpNINL+p9nAPmGRIpA8zq2+oq2QV1g7KyFZHh2DxTDK0RpSKVJ27ugiARCL1f9C/zvJFKhhe4tJczJ2QHXxMaSUZdk3W7K9rdLIECQQD06P0WaMVL0l3xVyhkFG3iEPKhJ7NPPUoesUSx/Jp4HrQiOwyLxqAkDKn3XDog13oUY2ON4csDuS9LMSYddJyvAkEA64PF4QJmE608D/656GHLAK5TI4pk3NQqkHIuFrOS7B/zBF5/PVjiwkvAe9DaKVjol50vBhz6+12t71TXh1AE4QJANBItbUxNVnedvahYUB7/1ebgj18PgrN3RNtPzb/1X8C3b+e6HSXX+pIuuQcE3OKzdA5Fpm7xaRNAeO40OmMGxQJBALpTSVUn+awtjOw2ocw4uktyn3Hpxrxy2q3mt5HcRiurZy8Yt9/IF7aSCdmrNT4rCfEROSfD+8isp7RGUjHKW+ECQQDZCK3iBouk5IBZ+sJchdx1NwtfN2yACwC1svJxtOzD72ZoM5w46W+11NQ8Icagw3cFIwEyNxzApo1Jj6O2Jmfn
|
||
#签名验证公钥/私钥
|
||
signature:
|
||
publicKey:
|
||
key: MCAwDQYJKoZIhvcNAQEBBQADDwAwDAIFAKTekpMCAwEAAQ==
|
||
privateKey:
|
||
key: MC0CAQACBQCk3pKTAgMBAAECBQCQYFZRAgMA1nsCAwDEyQIDANTDAgINeQICKGM=
|
||
|
||
# 训练任务启用加速缓存的用户角色-苏奇亮
|
||
role:
|
||
diskCache: diskCache |