mautic / docker-mautic

Docker Image for Mautic
https://www.mautic.org
374 stars 278 forks source link

automated instalation: array values #216

Open rvalle opened 2 years ago

rvalle commented 2 years ago

I am having difficulty performing automated installation configuring array values, such as:

$ env
MAUTIC_CONFIG_CORS_VALID_DOMAINS=["example.com", "example.org", "example.net"]
MAUTIC_CONFIG_CORS_VALID_DOMAINS='["example.com", "example.org", "example.net"]'

nothing seems to work, as I keep getting:

Invalid JSON env var "resolve:MAUTIC_CORS_VALID_DOMAINS": array or null exp

I believe this is implemented by Symphony utility classes, but I cannot find a description of the required format to pass in.

What would be the required environment variable format for the example provided?

--- Want to back this issue? **[Post a bounty on it!](https://app.bountysource.com/issues/108499082-automated-instalation-array-values?utm_campaign=plugin&utm_content=tracker%2F20392502&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://app.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F20392502&utm_medium=issues&utm_source=github).