Files
Investidor-V2/config/services.php
T

53 lines
1.8 KiB
PHP

<?php
return [
'malware' => [
'scanner' => env('MALWARE_SCANNER', 'clamd'),
'socket' => env('CLAMD_SOCKET'),
'host' => env('CLAMD_HOST', '127.0.0.1'),
'port' => (int) env('CLAMD_PORT', 3310),
'timeout_seconds' => (int) env('CLAMD_TIMEOUT_SECONDS', 120),
'max_signature_age_hours' => (int) env('CLAMD_MAX_SIGNATURE_AGE_HOURS', 48),
'max_file_bytes' => (int) env('CLAMD_MAX_FILE_BYTES', 20971520),
'max_stream_bytes' => (int) env('CLAMD_MAX_STREAM_BYTES', 26214400),
'max_decompressed_bytes' => (int) env('CLAMD_MAX_DECOMPRESSED_BYTES', 104857600),
'max_archive_entries' => (int) env('CLAMD_MAX_ARCHIVE_ENTRIES', 1000),
'max_attempts' => (int) env('MALWARE_SCAN_MAX_ATTEMPTS', 3),
],
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Resend, Postmark, AWS, and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'postmark' => [
'key' => env('POSTMARK_API_KEY'),
],
'resend' => [
'key' => env('RESEND_API_KEY'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
];