mirror of https://github.com/PurpleI2P/regi2p.git
Domain registry project
http://reg.i2p/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
3 years ago
|
<?php
|
||
|
/**
|
||
|
* Configuration file
|
||
|
*/
|
||
|
|
||
|
/* Service options */
|
||
|
$options = [
|
||
|
/* Database settings */
|
||
|
'db_host' => '127.0.0.1',
|
||
|
'db_user' => 'regi2p',
|
||
|
'db_pass' => 'pass',
|
||
|
'db_name' => 'user',
|
||
|
|
||
|
/* I2P settings */
|
||
|
'bob_host' => '127.0.0.1',
|
||
|
'bob_port' => '2827',
|
||
|
'bob_options' => 'inbound.quantity=5 outbound.quantity=5 inbound.length=1 outbound.length=1 i2cp.leaseSetType=3',
|
||
|
'bob_nick' => 'hostchecker',
|
||
|
'http_proxy' => 'tcp://127.0.0.1:4444', // this is HTTP proxy, which must be specified as tcp protocol because we using stream context
|
||
|
|
||
|
/* Service settings */
|
||
|
'approval' => true, // require approval (check host for availability before publishing)
|
||
|
'fetcher' => true, // enable external subscriptions fetcher
|
||
|
'tableitems' => 30, // records limit on alive, all, search pages
|
||
|
|
||
|
/* Records processing options */
|
||
|
'approvedelay' => 24, // check host for availability before publishing for this time (hours)
|
||
|
'approveseen' => 3, // host must be seen lesser than this amount of hours for approving (hours)
|
||
|
|
||
|
'newdays' => 7, // assume host as new for that amout of days
|
||
|
'delnewdays' => 3, // if new host not seen more than X days, disable it and disapprove
|
||
|
'delolddays' => 30, // same as above, but for old hosts
|
||
|
];
|