Skip to content

Commit

Permalink
UHF-8525: Map PubSub credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
tuutti committed Sep 1, 2023
1 parent f8c734a commit 16291ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions public/sites/default/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,13 @@

$config['filelog.settings']['rotation']['schedule'] = 'never';

if ($pubsub_endpoint = getenv('AZURE_PUBSUB_ENDPOINT')) {
$config['helfi_api_base.pubsub.settings']['endpoint'] = $pubsub_endpoint;
$config['helfi_api_base.pubsub.settings']['access_key'] = getenv('AZURE_PUBSUB_ACCESS_KEY');
$config['helfi_api_base.pubsub.settings']['hub'] = getenv('AZURE_PUBSUB_HUB');
$config['helfi_api_base.pubsub.settings']['group'] = getenv('AZURE_PUBSUB_GROUP');
}

if (
($redis_host = getenv('REDIS_HOST')) &&
file_exists('modules/contrib/redis/redis.services.yml') &&
Expand Down

0 comments on commit 16291ee

Please sign in to comment.