53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": "Host=/var/run/postgresql;Port=5432;Database=;Username=;Password=;Keepalive=15;Minimum Pool Size=10;Maximum Pool Size=50;No Reset On Close=true;Max Auto Prepare=50;Enlist=false"
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Warning",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information",
|
|
"LightlessSyncStaticFilesServer": "Debug",
|
|
"LightlessSyncShared": "Debug",
|
|
"System.IO": "Information",
|
|
},
|
|
"File": {
|
|
"BasePath": "logs",
|
|
"FileAccessMode": "KeepOpenAndAutoFlush",
|
|
"FileEncodingName": "utf-8",
|
|
"DateFormat": "yyyMMdd",
|
|
"MaxFileSize": 104857600,
|
|
"Files": [
|
|
{
|
|
"Path": "<date:yyyy>/<date:MM>/<date:dd>/lightless-<date:HH>-<counter:0000>.log"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"LightlessSync": {
|
|
"DbContextPoolSize": 512,
|
|
"ShardName": "Files",
|
|
"MetricsPort": 6250,
|
|
"ForcedDeletionOfFilesAfterHours": -1,
|
|
"CacheSizeHardLimitInGiB": -1,
|
|
"UnusedFileRetentionPeriodInDays": 14,
|
|
"CacheDirectory": "/lightlesscache/",
|
|
"RemoteCacheSourceUri": "",
|
|
"MainServerAddress": "http://-IPorDomainhere-:6000/",
|
|
"RedisConnectionString": "redis:6379,password=",
|
|
"MainFileServerAddress": "",
|
|
"Jwt": "",
|
|
"UseColdStorage": false,
|
|
"IsDistributionNode": true
|
|
},
|
|
"AllowedHosts": "*",
|
|
"Kestrel": {
|
|
"Endpoints": {
|
|
"Http": {
|
|
"Url": "http://+:6200"
|
|
}
|
|
}
|
|
},
|
|
"IpRateLimiting": {},
|
|
"IPRateLimitPolicies": {}
|
|
} |