mirror of
https://github.com/elyby/accounts.git
synced 2024-12-15 18:09:01 +05:30
cba769a1ec
Контроллер для работы с RabbitMQ научился создавать типизированные аргументы для $body Добавлена таблица с историей ников Добавлена таблица Mojang ников Добавлена проверка активированности аккаунта в AccountsController
30 lines
846 B
PHP
30 lines
846 B
PHP
<?php
|
|
return [
|
|
'components' => [
|
|
'db' => [
|
|
'dsn' => 'mysql:host=localhost;dbname=ely_accounts',
|
|
'username' => 'root',
|
|
'password' => '',
|
|
],
|
|
'mailer' => [
|
|
// send all mails to a file by default. You have to set
|
|
// 'useFileTransport' to false and configure a transport
|
|
// for the mailer to send real emails.
|
|
'useFileTransport' => true,
|
|
],
|
|
'redis' => [
|
|
'hostname' => 'localhost',
|
|
'password' => null,
|
|
'port' => 6379,
|
|
'database' => 0,
|
|
],
|
|
'amqp' => [
|
|
'host' => 'localhost',
|
|
'port' => 5672,
|
|
'user' => 'ely-accounts-app',
|
|
'password' => 'app-password',
|
|
'vhost' => '/account.ely.by',
|
|
],
|
|
],
|
|
];
|