[Flow] Own Constant into YAML Configuration
Jacob Floyd
cognifloyd at gmail.com
Sat Apr 12 14:57:56 CEST 2014
On Fri, Apr 11, 2014 at 6:42 AM, Bastian Waidelich <bastian at typo3.org>wrote:
> Peter Russ wrote:
>
> What is the recommended approach to get environment parameters into the
>> YAML configuration to be used like a FLOW constant?
>>
>
> As to *environment variables*: You can't *set* those via the settings, but
> for instance through a "SetEnv" option for apache:
> SetEnv SOME_CONSTANT SomeValue
>
> You can't access those in the settings though..
> Could you elaborate on what you're trying to achieve?
I think that's exactly what he wants to do. He wants to access an
environment variable within the YAML file. I can imagine that that would be
useful on some containers where the database location is provided by
environment variables by default.
Is there a way we could make environment variables available in YAML?
More information about the Flow
mailing list