athenahr/config/services.php
miguel456 2b7909caa4
fix(config): updated config value w/ empty string key
Dotenv does not allow empty string keys; this would result in an ambiguous error when running post-install composer scripts and loading the app itself. Fixed by adding the actual .env key name.

Signed-off-by: miguel456 <me@nogueira.codes>
2023-02-25 23:52:26 +00:00

79 lines
2.7 KiB
PHP
Executable File

<?php
/*
* Copyright © 2020 Miguel Nogueira
*
* This file is part of Raspberry Staff Manager.
*
* Raspberry Staff Manager is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Raspberry Staff Manager is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Raspberry Staff Manager. If not, see <https://www.gnu.org/licenses/>.
*/
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.
|
*/
'discord' => [
'client_id' => env('DISCORD_CLIENT_ID'),
'client_secret' => env('DISCORD_CLIENT_SECRET'),
'redirect' => env('DISCORD_REDIRECT_URI'),
'base_url' => env('DISCORD_BASE_URL'),
'token' => env('DISCORD_BOT_TOKEN'),
'staff_guild_roles' => env('DISCORD_STAFF_GUILD_ROLES'),
'staff_home_roles' => env('DISCORD_HOME_GUILD_ROLES'),
// optional
'allow_gif_avatars' => (bool) env('DISCORD_AVATAR_GIF', true),
'avatar_default_extension' => env('DISCORD_EXTENSION_DEFAULT', 'jpg'), // only pick from jpg, png, webp
'home_guild' => env('DISCORD_HOME_GUILD'),
'staff_guild' => env('DISCORD_STAFF_GUILD', null),
],
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
],
'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'),
],
'pusher' => [
'beams_instance_id' => env('BEAMS_INSTANCE_ID', null),
'beams_secret_key' => env('BEAMS_SECRET_KEY', null),
],
'cpanel' => [
'api_token' => env('CPANEL_API_TOKEN', null),
],
];