fix: 初验针对修改
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
Service: files
|
||||
Port: 12452
|
||||
BindIP: 0.0.0.0
|
||||
SecretKey: ops-files
|
||||
|
||||
Databases:
|
||||
Driver: postgres
|
||||
Source:
|
||||
- host=8.137.107.29 user=postgres password=Weidong2023~! dbname=ops_dev port=19432 sslmode=disable TimeZone=Asia/Shanghai
|
||||
- "${OPS_FILES_DB_DSN}"
|
||||
|
||||
Cache: redis://null:Weidong2023~!@8.137.107.29:19379/
|
||||
|
||||
@@ -19,17 +20,26 @@ ServiceClients:
|
||||
dc-control: ${DC_CONTROL_FILES_SECRET}
|
||||
visual: ${VISUAL_FILES_SECRET}
|
||||
|
||||
ObjectStorage:
|
||||
Provider: aliyun
|
||||
Endpoint: https://oss-cn-beijing.aliyuncs.com
|
||||
Region: cn-beijing
|
||||
Bucket: ops-app
|
||||
PublicBaseURL: https://ops-app.oss-cn-beijing.aliyuncs.com
|
||||
AccessKeyID: ${FILES_OSS_ACCESS_KEY_ID}
|
||||
AccessKeySecret: ${FILES_OSS_ACCESS_KEY_SECRET}
|
||||
PresignTTLSeconds: 600
|
||||
Storage:
|
||||
Provider: local
|
||||
ExternalBaseURL: http://127.0.0.1:12452/Files
|
||||
AccessTTLSeconds: 600
|
||||
SigningSecret: local-dev-files-signing-secret
|
||||
Local:
|
||||
RootPath: D:/work/ops/.data/files
|
||||
MinimumFreeSpaceMB: 1024
|
||||
Aliyun:
|
||||
Endpoint: ""
|
||||
Region: ""
|
||||
Bucket: ""
|
||||
AccessKeyID: ""
|
||||
AccessKeySecret: ""
|
||||
|
||||
Namespaces:
|
||||
device-config-backups:
|
||||
Prefix: device-config-backups
|
||||
MaxSizeMB: 1
|
||||
AllowedExtensions: [.txt]
|
||||
reports:
|
||||
Prefix: reports
|
||||
MaxSizeMB: 512
|
||||
@@ -45,3 +55,5 @@ Namespaces:
|
||||
|
||||
Cleanup:
|
||||
IntervalSeconds: 600
|
||||
IntegrityIntervalSeconds: 3600
|
||||
IntegrityBatchSize: 100
|
||||
|
||||
Reference in New Issue
Block a user