refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,77 @@
Service: fts
Host: 0.0.0.0
Port: 16290
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
MinioOss:
Site: http://oss.make-w.com
Endpoint: fts.apinb.com:9000
AccessKeyId: 9jtPPB7wwJpe5R2164bS
AccessKeySecret: CHANGE_ME
UseSSL: false
Local:
Site: http://files.apinb.com
UploadDir: ./uploader/
FtsConfig:
InputKey: file
MaxSize: 5368709120 # MB
Allows:
- .doc
- .docx
- .txt
- .png
- .jpg
- .jpeg
- .gif
- .pdf
- .xls
- .xlsx
- .ppt
- .pptx
- .mp4
- .avi
- .mkv
- .webp
- .mov
- .wmv
- .mp3
- .wav
# # 日志记录
# Log:
# ServiceName: {ServiceKey}
# Mode: file
# Path: logs/{ServiceKey}
# Stat: false
# # 性能监控
# Prometheus:
# Host: 127.0.0.1
# Port: 22214
# Path: /metrics
# 链路追踪
# Telemetry:
# Name: {Workspace}.{ServiceKey}.{RuntimeMode}
# Endpoint: http://127.0.0.1:14268/api/traces
# Sampler: 1.0
# Batcher: jaeger

View File

@@ -0,0 +1,77 @@
Service: fts
Host: 0.0.0.0
Port: 16290
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
MinioOss:
Site: http://oss.make-w.com
Endpoint: fts.apinb.com:9000
AccessKeyId: 9jtPPB7wwJpe5R2164bS
AccessKeySecret: CHANGE_ME
UseSSL: false
Local:
Site: http://files.apinb.com
UploadDir: ./uploader/
FtsConfig:
InputKey: file
MaxSize: 5368709120 # MB
Allows:
- .doc
- .docx
- .txt
- .png
- .jpg
- .jpeg
- .gif
- .pdf
- .xls
- .xlsx
- .ppt
- .pptx
- .mp4
- .avi
- .mkv
- .webp
- .mov
- .wmv
- .mp3
- .wav
# # 日志记录
# Log:
# ServiceName: {ServiceKey}
# Mode: file
# Path: logs/{ServiceKey}
# Stat: false
# # 性能监控
# Prometheus:
# Host: 127.0.0.1
# Port: 22214
# Path: /metrics
# 链路追踪
# Telemetry:
# Name: {Workspace}.{ServiceKey}.{RuntimeMode}
# Endpoint: http://127.0.0.1:14268/api/traces
# Sampler: 1.0
# Batcher: jaeger

View File

@@ -0,0 +1,77 @@
Service: fts
Host: 0.0.0.0
Port: 16290
Databases:
Driver: postgres
Source:
- host=47.109.77.183 user=postgres password=CHANGE_ME dbname=bsm_dev port=5432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:CHANGE_ME@47.109.77.183:6379/0
# 是否启用微服务模式
OnMicroService: false
# 微服务调用密钥
SecretKey: 6ad9529688041483f458f8de11ed16ff
MinioOss:
Site: http://oss.make-w.com
Endpoint: fts.apinb.com:9000
AccessKeyId: 9jtPPB7wwJpe5R2164bS
AccessKeySecret: CHANGE_ME
UseSSL: false
Local:
Site: http://files.apinb.com
UploadDir: ./uploader/
FtsConfig:
InputKey: file
MaxSize: 5368709120 # MB
Allows:
- .doc
- .docx
- .txt
- .png
- .jpg
- .jpeg
- .gif
- .pdf
- .xls
- .xlsx
- .ppt
- .pptx
- .mp4
- .avi
- .mkv
- .webp
- .mov
- .wmv
- .mp3
- .wav
# 日志记录
Log:
ServiceName: {ServiceKey}
Mode: file
Path: logs/{ServiceKey}
Stat: false
# 性能监控
Prometheus:
Host: 127.0.0.1
Port: 22214
Path: /metrics
# 链路追踪
# Telemetry:
# Name: {Workspace}.{ServiceKey}.{RuntimeMode}
# Endpoint: http://127.0.0.1:14268/api/traces
# Sampler: 1.0
# Batcher: jaeger

View File

@@ -0,0 +1,8 @@
[program:bsm-apps-fts]
command=/data/app/bsm-apps-fts
directory=/data/app
autostart=true
autorestart=true
user=root
redirect_stderr=true
stdout_logfile=/data/app/logs/bsm-apps-fts.log