Files
toolbox/config/services.php

73 lines
2.0 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, 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' => [
'token' => env('POSTMARK_TOKEN'),
],
'resend' => [
'key' => env('RESEND_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'),
],
],
'agent' => [
'url' => env('AGENT_URL'),
'timeout' => env('AGENT_TIMEOUT', 30),
],
'mono' => [
'url' => env('MONO_URL'),
'timeout' => env('MONO_TIMEOUT', 30),
],
'dingtalk' => [
'webhook' => env('DINGTALK_WEBHOOK'),
'secret' => env('DINGTALK_SECRET'),
],
'sls' => [
'endpoint' => env('SLS_ENDPOINT'),
'project' => env('SLS_PROJECT'),
'logstore' => env('SLS_LOGSTORE'),
'access_key_id' => env('SLS_ACCESS_KEY_ID'),
'access_key_secret' => env('SLS_ACCESS_KEY_SECRET'),
'security_token' => env('SLS_SECURITY_TOKEN', ''),
'query_timeout' => (int) env('SLS_QUERY_TIMEOUT', 60),
],
'ai' => [
'endpoint' => env('AI_ENDPOINT', 'https://api.openai.com/v1'),
'api_key' => env('AI_API_KEY'),
'model' => env('AI_MODEL', 'gpt-4o'),
'temperature' => (float) env('AI_TEMPERATURE', 0.3),
'timeout' => (int) env('AI_TIMEOUT', 120),
'max_tokens' => (int) env('AI_MAX_TOKENS', 4096),
],
];