Files
usher-manage-stack/config/services.php

52 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.
|
*/
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
'scheme' => 'https',
],
'postmark' => [
'token' => env('POSTMARK_TOKEN'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'nextjs' => [
'revalidate_url' => env('NEXTJS_REVALIDATE_URL'),
'revalidate_token' => env('NEXTJS_REVALIDATE_TOKEN'),
// Optional: sync assets into a local Next.js repo for static serving.
// Example: /Users/gbanyan/Project/usher-site/public
'public_path' => env('NEXTJS_PUBLIC_PATH'),
// Folder under public/ where Laravel uploads are copied (no leading/trailing slash).
'public_upload_prefix' => env('NEXTJS_PUBLIC_UPLOAD_PREFIX', 'uploads'),
// Optional: automatically git commit+push when public/ assets change.
// Requires the Next.js repo to be checked out and authenticated on this machine.
'autopush_assets' => env('NEXTJS_AUTOPUSH_ASSETS', false),
'repo_path' => env('NEXTJS_REPO_PATH'),
'repo_remote' => env('NEXTJS_REPO_REMOTE', 'origin'),
'repo_branch' => env('NEXTJS_REPO_BRANCH', 'main'),
'repo_assets_commit_message' => env('NEXTJS_REPO_ASSETS_COMMIT_MESSAGE', 'chore(assets): sync public assets'),
],
];