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' => [
|
2022-04-23 05:44:17 -05:00
|
|
|
'enabled' => (bool) EnvVars::RABBITMQ_ENABLED->loadFromEnv(false),
|
|
|
|
'host' => EnvVars::RABBITMQ_HOST->loadFromEnv(),
|
2023-11-25 06:04:30 -06:00
|
|
|
'use_ssl' => (bool) EnvVars::RABBITMQ_USE_SSL->loadFromEnv(false),
|
2022-04-23 05:44:17 -05:00
|
|
|
'port' => (int) EnvVars::RABBITMQ_PORT->loadFromEnv('5672'),
|
|
|
|
'user' => EnvVars::RABBITMQ_USER->loadFromEnv(),
|
|
|
|
'password' => EnvVars::RABBITMQ_PASSWORD->loadFromEnv(),
|
|
|
|
'vhost' => EnvVars::RABBITMQ_VHOST->loadFromEnv('/'),
|
2021-12-11 10:07:40 -06:00
|
|
|
],
|
|
|
|
|
|
|
|
];
|