platformsh-docs
platformsh-docs copied to clipboard
correct .environment sample code for opensearch, gotenberg, influxdb services
Where on docs.platform.sh should be changed?
https://docs.platform.sh/add-services/opensearch.html#use-in-app https://docs.platform.sh/add-services/influxdb.html#use-in-app https://docs.platform.sh/add-services/gotenberg.html#relationship-reference (PLATFORM_RELATIONSHIPS environment variable tab) https://docs.upsun.com/add-services/opensearch.html#use-in-app https://docs.upsun.com/add-services/influxdb.html#use-in-app https://docs.upsun.com/add-services/gotenberg.html#relationship-reference (PLATFORM_RELATIONSHIPS environment variable tab)
What exactly should be updated?
export RELATIONSHIPS_JSON=$(echo $PLATFORM_RELATIONSHIPS | base64 --decode)
should be
export RELATIONSHIPS_JSON="$(echo $PLATFORM_RELATIONSHIPS | base64 --decode)"
Additional context
The former will not parse correctly in dash since the decoded contents in PLATFORM_RELATIONSHIPS
contain "
s