Active
Project:
DrupalPod
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2025 at 17:43 UTC
Updated:
28 Jan 2025 at 18:34 UTC
Jump to comment: Most recent
Currently DrupalPod requires setting up environment variables via GitPod URL. If using DrupalPod locally, one has to replicate these environment variables manually.
It would be nice if there was a pattern like dotenv that would source environment variables from a local file from the script.
DP_EXTRA_DEVEL
DP_EXTRA_ADMIN_TOOLBAR
DP_CORE_VERSION
DP_PROJECT_NAME
DP_PROJECT_TYPE
DP_INSTALL_PROFILE
DP_MODULE_VERSION
DP_ISSUE_FORK
DP_ISSUE_BRANCH
DP_PATCH_FILE (we should deprecate this)
GITPOD_REPO_ROOT (could be set via pwd)
Source environment variables populated from a file?
Comments
Comment #2
rfayYou can certainly use `.ddev/.env` in gitpod/drupalpod.
Comment #3
mradcliffeIt would need to source env vars that are used in .gitpod/drupal scripts, not ddev itself.
Comment #4
mradcliffe