a1ea34bc01
Consolidate data and config into separate folders that will be expected to be mapped in the container Reviewed-on: #1 Co-authored-by: Huy Nguyen <ecenshu@gmail.com> Co-committed-by: Huy Nguyen <ecenshu@gmail.com>
39 lines
963 B
JSON
39 lines
963 B
JSON
{
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
"CredentialsFile": "/app/data/credentials.json",
|
|
"FingerprintsFile": "/app/data/fingerprints.json",
|
|
"BlacklistFile": "/app/data/blacklist.json",
|
|
"MaxFailedAttempts": 5,
|
|
"Snapshot" : {
|
|
"RootDirectories": [ ],
|
|
"ArchiveExtensions": [ ".zip", ".rar", ".7z" ],
|
|
"RomExtensions": [ ".xci", ".nsp", ".xcz" ],
|
|
"CacheTtl": 60,
|
|
"SnapshotFile": "/app/data/snapshot.json",
|
|
"SnapshotBackupFile": "/app/data/snapshot.bak"
|
|
},
|
|
"NSPExtractor": {
|
|
"KeyFile": "/app/config/prod.keys"
|
|
},
|
|
"IndexBuilder": {
|
|
"ApiBaseUrl": "http://tinfoil.localhost:8080",
|
|
"IndexDirectories": [
|
|
"https://url1",
|
|
"sdmc:/url2",
|
|
"http://url3"
|
|
],
|
|
"Success" : "Welcome to Tinfoil Vibe Server!"
|
|
},
|
|
"TitleDb": {
|
|
"CountryCode": "AU",
|
|
"Language": "en",
|
|
"TtlSeconds" : 90
|
|
}
|
|
} |