Skip to content

PHP_FPM_ENV_VARS never validates #217

@gease

Description

@gease

Based on the comment #111 (comment) I tried to add PHP_FPM_ENV_VARS to environments variables. But it always fails: if it is added as array the container does not start with the message
validating ...: services.php.environment.PHP_FPM_ENV_VARS must be a boolean, null, number or string
When it is a string, the container exits immediately with message in the logs
panic: template: titleTest:25:43: executing "titleTest" at <jsonArray (getenv "PHP_FPM_ENV_VARS")>: error calling jsonArray: invalid character 'E' looking for beginning of value
Obviously, environment variables in docker compose cannot be arrays:
docker/compose#4249

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions