Prerequisites check
Type of content requested
Documentation
Content description
Hello,
I couldn't find the answer to this question: is environment variable interpolation possible?
Whatever the answer, I think it deserves a place in the doc.
If this is possible, it would allow us to define env variables with some parts replaced by others (notably by env variables defined by addons).
For example:
REDIS_SESSION_DSN="redis://:${REDIS_PASSWORD}@${REDIS_HOST}:${REDIS_PORT}?timeout=0.5&read_timeout=0.5"
DATABASE_URL="${MYSQL_ADDON_URI}?serverVersion=${MYSQL_ADDON_VERSION}&charset=utf8mb4"
If it's not possible, could we add a short phrase mentioning that it isn't?
This content could be added at the end of the "#How do I use these variables?" section on this page: https://www.clever.cloud/developers/doc/develop/env-variables/
I can open a PR according to your response if necessary.
Thanks
Use case and target audience
No response
Technical details (for framework guides)
No response
Additional context (optional)
No response
Prerequisites check
Type of content requested
Documentation
Content description
Hello,
I couldn't find the answer to this question: is environment variable interpolation possible?
Whatever the answer, I think it deserves a place in the doc.
If this is possible, it would allow us to define env variables with some parts replaced by others (notably by env variables defined by addons).
For example:
If it's not possible, could we add a short phrase mentioning that it isn't?
This content could be added at the end of the "#How do I use these variables?" section on this page: https://www.clever.cloud/developers/doc/develop/env-variables/
I can open a PR according to your response if necessary.
Thanks
Use case and target audience
No response
Technical details (for framework guides)
No response
Additional context (optional)
No response