Skip to content
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

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

Open
gilzow opened this issue Sep 18, 2024 · 0 comments
Open

Comments

@gilzow
Copy link
Collaborator

gilzow commented Sep 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant