-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IBX-3740: Fixed resolving ELASTICSEARCH_DSN
variable for Platform.sh
#112
IBX-3740: Fixed resolving ELASTICSEARCH_DSN
variable for Platform.sh
#112
Conversation
Thanks for contribution! 🎉 To test the changes please execute:
before executing the recipes. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with Elastic on platform.sh. ES setup works fine now.
QA Approved on Ibexa Commerce 4.5.7-dev.
JIRA: https://issues.ibexa.co/browse/IBX-3740
For quite some time, Platform.sh relies on
ELASTICSEARCH_URL
env variable, ref:https://github.com/platformsh/symfonyflex-bridge/blob/b30d3309a02f770e5aec8db06ce59972253a9d0a/platformsh-flex-env.php#L306. Added fallbacking from
ELASTICSEARCH_DSN
toELASTICSEARCH_URL
seems to do the trick and saves developers from necessity to set any additional env variables on their Platform.sh instances.Note:
Performing:
once, might be necessary for the new configuration to be picked up.