Files
lone-services/services/analysis/run.toml
T
2026-10-22 10:13:55 +08:00

102 lines
2.4 KiB
TOML

[base]
login_out_time=43200
login_refresh_out_time=83200
name = "analysis-service"
listenOn = "0.0.0.0:11800"
mode = "dev"
[log]
path = "logs"
serviceName = "analysis-service"
mode = "file"
encoding = "plain"
level = "info"
keepDays = 7
maxSize = 50
maxBackups = 5
compress = false
[mysql]
host = '39.106.171.204'
port = 33066
user = 'root'
password = 'MOLXRZNOU4Y4'
database = 'dms-analysis'
charset = 'utf8mb4'
prefix = ''
debug = true
[mysql_read]
host = '39.106.171.204'
port = 33066
user = 'root'
password = 'MOLXRZNOU4Y4'
database = 'dms-analysis'
charset = 'utf8mb4'
prefix = ''
[redis]
host = '39.106.171.204'
password = 'lLMLcuPpzSj'
port = 6379
db = 0
[log-redis]
host = '39.106.171.204'
password = 'lLMLcuPpzSj'
port = 6379
db = 3
[wechat]
appid = 'wxa6f5d68dcbc955c7'
secret = '657bc95ab1eb4462913c056802b677c1'
env_version = 'trial'
width = 430
auth_page = 'pagesB/authorize/scan'
[oss]
accessKeyId = "LTAI5t7U8KvxSiPE5auwQUuu"
accessKeySecret = "xjfgbQQRpL4TcIspNuClg6bYADa3pk"
roleArn = "acs:ram::1663896742753915:role/oss-upload"
region = "cn-beijing"
bucketName = "lone-images"
endpoint = "https://lone-images.oss-accelerate.aliyuncs.com"
internalEndpoint = "https://lone-images.oss-cn-beijing-internal.aliyuncs.com"
stsEndpoint = "sts.cn-beijing.aliyuncs.com"
dir = "test/skin/analysis/"
imageDir = "test/skin/images/"
fileDir = "test/skin/files/"
expireSeconds = 3600
callbackUrl = "https://services-test.ailuowan.com/api/v1/oss/callback"
[milvus]
milvus_host = 'milvus'
milvus_grpc_port = 19530
milvus_http_port = 9091
etcd_port = 2379
minio_port = 9000
[services]
user = "user-service"
chore = "chore-service"
store = "store-service"
equipment = "equipment-service"
skin_py_analysis_host = "http://172.19.74.222:8000"
skin_py_analysis_path = "/api/v1/analysis/submit"
skin_py_face_host = "http://skin-py-insightface:8072"
skin_py_face_path = "/api/v1/face/extract"
[facepp]
api_key = "OeM6mTOMz1syfybKB2YyGCG0g2yk8r5L"
api_secret = "1Ab4N5H4659n_d50-UP9LbJquRnT0cUx"
train_image_path = "/data/facepp/train/images"
train_json_path = "/data/facepp/train/json"
train_label_path = "/data/facepp/train/labels"
[switch]
wechat = 1
facepp = 1
analysis = 1