OmgImAlexis / astro

A torrent site mirroring tool
9 stars 3 forks source link

Add default config.json #9

Closed OmgImAlexis closed 7 years ago

OmgImAlexis commented 9 years ago

This will need to either be added as a default in the repo or added with a install script/page.

{
    "web": {
        "port": 3000,
        "title": "BitCannon",
        "torrentsPerPage": 100,
        "defaultSearchSorting": "seeders",
        "defaultSearchOrder": "desc"
    },
    "database": {
        "mongodb": {
            "enabled": true,
            "host": "localhost",
            "port": 27017,
            "collection": "bitcannon"
        }
    },
    "session": {
        "secret": "asdasdasdasd43jn5kj2n43k"
    },
    "trackers": "",
    "downloads": {
        "hourly": {
            "kat": ""
        },
        "daily": {
            "tpb": ""
        }
    },
    "api": {
        "keyNeeded": true,
        "key": "random_key"
    }
}