Skip to content

Commit

Permalink
Allow environment configuration of indexstore port in local environments
Browse files Browse the repository at this point in the history
  • Loading branch information
michalkleiner committed Apr 8, 2020
1 parent 237a04a commit 0951f3c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Solr/CwpSolr.php
Expand Up @@ -111,7 +111,14 @@ public static function options_for_local($options)
: BASE_PATH . '/.solr',
'remotepath' => Environment::getEnv('SOLR_REMOTE_PATH')
? Environment::getEnv('SOLR_REMOTE_PATH')
: null
: null,
'port' => Environment::getEnv('SOLR_INDEXSTORE_PORT')
? Environment::getEnv('SOLR_INDEXSTORE_PORT')
: (
Environment::getEnv('SOLR_PORT')
? Environment::getEnv('SOLR_PORT')
: 8983
)
]
];
}
Expand Down

0 comments on commit 0951f3c

Please sign in to comment.