mirror of
https://github.com/getnamingo/registry.git
synced 2025-05-10 16:58:34 +02:00
108 lines
3.7 KiB
Text
108 lines
3.7 KiB
Text
<?php
|
|
|
|
return [
|
|
// Database Configuration
|
|
'db_type' => 'mysql',
|
|
'db_host' => 'localhost',
|
|
'db_port' => 3306,
|
|
'db_database' => 'registry',
|
|
'db_username' => 'your_username',
|
|
'db_password' => 'your_password',
|
|
|
|
// Escrow Configuration
|
|
'escrow_deposit_path' => '/opt/escrow',
|
|
'escrow_deleteXML' => false,
|
|
'escrow_RDEupload' => false,
|
|
'escrow_BRDAupload' => false,
|
|
'escrow_BRDAday' => 'Tuesday',
|
|
'escrow_keyPath' => '/opt/escrow/escrowKey.asc',
|
|
'escrow_keyPath_brda' => '/opt/escrow/icann-brda-gpg.pub',
|
|
'escrow_privateKey' => '/opt/escrow/privatekey.asc',
|
|
'escrow_sftp_host' => 'your.sftp.server.com',
|
|
'escrow_sftp_username' => 'your_username',
|
|
'escrow_sftp_password' => 'your_password',
|
|
'escrow_sftp_remotepath' => '/path/on/sftp/server/',
|
|
'brda_sftp_host' => 'your.sftp.server.com',
|
|
'brda_sftp_username' => 'your_username',
|
|
'brda_sftp_password' => 'your_password',
|
|
'brda_sftp_remotepath' => '/path/on/sftp/server/',
|
|
'escrow_report_url' => 'https://ry-api.icann.org/report/',
|
|
'escrow_report_username' => 'your_username',
|
|
'escrow_report_password' => 'your_password',
|
|
'roid' => 'XX',
|
|
|
|
// Reporting Configuration
|
|
'reporting_path' => '/opt/reporting',
|
|
'reporting_upload' => false,
|
|
'reporting_username' => 'your_username',
|
|
'reporting_password' => 'your_password',
|
|
|
|
// Zone Writer Configuration
|
|
'dns_server' => 'bind',
|
|
'ns' => [
|
|
'ns1' => 'ns1.namingo.org',
|
|
'ns2' => 'ns2.namingo.org',
|
|
// ... more name servers as needed ...
|
|
],
|
|
'dns_soa' => 'hostmaster.example.com',
|
|
'dns_serial' => 1, // change to 2 for YYYYMMDDXX format, and 3 for Cloudflare-like serial
|
|
'zone_mode' => 'default', // nice is also available
|
|
|
|
// URS Configuration
|
|
'urs_imap_host' => '{your_imap_server:993/imap/ssl}INBOX',
|
|
'urs_imap_username' => 'your_username',
|
|
'urs_imap_password' => 'your_password',
|
|
|
|
// Message Broker Configuration
|
|
'mailer' => 'phpmailer', // sendgrid, mailgun are also available
|
|
'mailer_api_key' => 'YOUR_API_KEY',
|
|
'mailer_domain' => 'example.com',
|
|
'mailer_from' => 'from@example.com',
|
|
'mailer_smtp_host' => 'smtp.example.com',
|
|
'mailer_smtp_username' => 'your_email@example.com',
|
|
'mailer_smtp_password' => 'your_password',
|
|
'mailer_smtp_port' => 587,
|
|
|
|
'mailer_sms' => 'twilio', // telesign, plivo, vonage, clickatell are also available
|
|
'mailer_sms_account' => 'YOUR_ACCOUNT_SID/USERNAME',
|
|
'mailer_sms_auth' => 'YOUR_AUTH_TOKEN/PASSWORD',
|
|
|
|
// TMCH Configuration
|
|
'tmch_path' => '/tmp/',
|
|
'tmch_smdrl_user' => 'your_username',
|
|
'tmch_smdrl_pass' => 'your_password',
|
|
'tmch_dnl_user' => 'your_username',
|
|
'tmch_dnl_pass' => 'your_password',
|
|
|
|
// LORDN Configuration
|
|
'lordn_user' => 'your_username',
|
|
'lordn_pass' => 'your_password',
|
|
|
|
// Minimum Data Set
|
|
'minimum_data' => false,
|
|
|
|
// Domain lifecycle settings
|
|
'autoRenewEnabled' => false,
|
|
|
|
// Lifecycle periods (in days)
|
|
'gracePeriodDays' => 30,
|
|
'autoRenewPeriodDays' => 45,
|
|
'addPeriodDays' => 5,
|
|
'renewPeriodDays' => 5,
|
|
'transferPeriodDays' => 5,
|
|
'redemptionPeriodDays' => 30,
|
|
'pendingDeletePeriodDays' => 5,
|
|
|
|
// Lifecycle phases (enable/disable)
|
|
'enableAutoRenew' => false,
|
|
'enableGracePeriod' => true,
|
|
'enableRedemptionPeriod' => true,
|
|
'enablePendingDelete' => true,
|
|
|
|
// Drop settings
|
|
'dropStrategy' => 'random', // Options: 'fixed', 'random'
|
|
'dropTime' => '02:00:00', // Time of day to perform drops if 'fixed' strategy is used
|
|
|
|
// IANA Email for Submission Logs
|
|
'iana_email' => 'admin@example.com', // Email address to be used for IANA submission
|
|
];
|