| Current Path : /home/seto/indexator.pm/config/ |
| Current File : /home/seto/indexator.pm/config/config.example.php |
<?php
// Copy this file to config.php and fill in the values.
//
// Generate password hash:
// php -r "echo password_hash('yourpassword', PASSWORD_BCRYPT) . PHP_EOL;"
return [
// Auth
'ADMIN_PASSWORD_HASH' => '', // bcrypt hash of your admin password
'LOCKOUT_MAX_ATTEMPTS' => 5,
'LOCKOUT_DURATION_MINUTES' => 15,
// Database
'DB_PATH' => __DIR__ . '/../database/indexator.sqlite',
// SerpAPI
'SERPAPI_KEY' => '',
// Worker / Queue
'BATCH_SIZE' => 10,
// Sitemap fetching
'SITEMAP_FETCH_TIMEOUT' => 30,
'SITEMAP_MAX_DEPTH' => 3,
// App
'APP_ENV' => 'development',
'APP_URL' => 'http://localhost:8080',
];