2021-12-11 10:07:40 -06:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
2022-01-20 13:16:37 -06:00
|
|
|
use Shlinkio\Shlink\Core\Config\EnvVars;
|
2021-12-11 10:07:40 -06:00
|
|
|
|
|
|
|
return [
|
|
|
|
|
2021-12-12 03:32:57 -06:00
|
|
|
'rabbitmq' => [
|
2024-10-13 05:24:59 -05:00
|
|
|
'enabled' => (bool) EnvVars::RABBITMQ_ENABLED->loadFromEnv(),
|
2022-04-23 05:44:17 -05:00
|
|
|
'host' => EnvVars::RABBITMQ_HOST->loadFromEnv(),
|
2024-10-13 05:24:59 -05:00
|
|
|
'use_ssl' => (bool) EnvVars::RABBITMQ_USE_SSL->loadFromEnv(),
|
|
|
|
'port' => (int) EnvVars::RABBITMQ_PORT->loadFromEnv(),
|
2022-04-23 05:44:17 -05:00
|
|
|
'user' => EnvVars::RABBITMQ_USER->loadFromEnv(),
|
|
|
|
'password' => EnvVars::RABBITMQ_PASSWORD->loadFromEnv(),
|
2024-10-13 05:24:59 -05:00
|
|
|
'vhost' => EnvVars::RABBITMQ_VHOST->loadFromEnv(),
|
2021-12-11 10:07:40 -06:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|