Modules: - Chain: daemon RPC client (DaemonRpc singleton, cached queries) - Explorer: block browser, tx viewer, alias directory, search, stats API - Names: .lthn TLD registrar portal (availability check, lookup, directory) - Trade: scaffold (DEX frontend + API) - Pool: scaffold (mining pool dashboard) Replaces 5 Node.js containers (5.9GB) with one FrankenPHP app. Built on CorePHP framework pattern from host.uk.com. Co-Authored-By: Charon <charon@lethean.io>
62 lines
2 KiB
PHP
62 lines
2 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Support (SupportHost) configuration.
|
|
*/
|
|
|
|
return [
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Data Retention
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Configuration for automatic cleanup of old support data.
|
|
| Conversations and related data older than the retention period
|
|
| will be purged to free up storage.
|
|
|
|
|
*/
|
|
'retention' => [
|
|
// Enable/disable automatic retention enforcement
|
|
'enabled' => env('SUPPORT_RETENTION_ENABLED', true),
|
|
|
|
// Default retention period in days if not specified in entitlements
|
|
'default_days' => env('SUPPORT_RETENTION_DEFAULT_DAYS', 365),
|
|
|
|
// Batch size for cleanup operations (to avoid memory issues)
|
|
'cleanup_batch_size' => env('SUPPORT_CLEANUP_BATCH_SIZE', 100),
|
|
|
|
// Whether to keep system notes about purged conversations
|
|
'keep_purge_notes' => env('SUPPORT_KEEP_PURGE_NOTES', true),
|
|
],
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| File Storage
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Configuration for support attachment storage.
|
|
|
|
|
*/
|
|
'storage' => [
|
|
// Storage disk for attachments
|
|
'disk' => env('SUPPORT_STORAGE_DISK', 'local'),
|
|
|
|
// Maximum attachment size in bytes (10MB default)
|
|
'max_attachment_size' => env('SUPPORT_MAX_ATTACHMENT_SIZE', 10 * 1024 * 1024),
|
|
|
|
// Allowed attachment mime types
|
|
'allowed_mime_types' => [
|
|
'image/jpeg',
|
|
'image/png',
|
|
'image/gif',
|
|
'image/webp',
|
|
'application/pdf',
|
|
'application/msword',
|
|
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
'application/vnd.ms-excel',
|
|
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
'text/plain',
|
|
'text/csv',
|
|
],
|
|
],
|
|
];
|