Support uppercased env variables

Created on 22 April 2022, about 3 years ago
Updated 14 December 2023, over 1 year ago

Problem/Motivation

Some hosting services insist that env variables should be uppercase *cough*platform.sh*cough*, which makes it impossible to target most container parameters, as they're lowercase per convention.

Proposed resolution

Add an optional evn var, DRUPAL_SERVICE_DOWNCASE_VARS, which when set will downcase the variable name before setting them, so that DRUPAL_SERVICE_CORS__CONFIG___ENABLED=1 will behave like DRUPAL_SERVICE_cors__config___enabled=1.

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡°Denmark xen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024