platformsh-docs icon indicating copy to clipboard operation
platformsh-docs copied to clipboard

correct .environment sample code for opensearch, gotenberg, influxdb services

Open gilzow opened this issue 5 months ago • 0 comments

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

gilzow avatar Sep 18 '24 18:09 gilzow