{ "dbURL": "mongodb://username:password@localhost:27017", "redis": { "host": "127.0.0.1", "port": "6379", "password": "long random string" }, "port": 7000, "sessionSecret": "long random string", "tripcodeSecret": "long random string", "ipHashSecret": "long random string", "postPasswordSecret": "long random string", "cacheTemplates": true, "enableUserBoards": true, "refererCheck": true, "refererRegex": "^https?:\\/\\/(?:www\\.)?domain\\.com\\/", "meta": { "siteName": "imageboard", "url": "https://domain.com" }, "globalLimits": { "threadLimit": { "min": 10, "max": 200 }, "replyLimit": { "min": 10, "max": 500 }, "postFiles": { "max": 3 }, "bannerFiles": { "max": 10 }, "messageLength": { "max": 4000 } }, "boardDefaults": { "theme": "lain", "locked": false, "unlisted": false, "captchaMode": 0, "tphTrigger": 0, "tphTriggerAction": 0, "forceAnon": false, "early404": true, "ids": false, "flags": false, "userPostDelete": true, "userPostSpoiler": true, "userPostUnlink": true, "threadLimit": 200, "replyLimit": 500, "maxFiles": 1, "forceReplyMessage": false, "forceReplyFile": false, "forceThreadMessage": false, "forceThreadFile": false, "forceThreadSubject": false, "minThreadMessageLength": 0, "minReplyMessageLength": 0, "defaultName": "Anon", "filters": [], "filterMode": 0, "filterBanDuration": 0, "announcement": { "raw": null, "markdown": null }, "allowedFileTypes": { "animatedImage": true, "image": true, "video": true } } }