generated from ddev/ddev-addon-template
-
-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
@gilzow and I were working on ddev.com site today, trying to use this add-on with it, and it turned out that the environment variables it needs to operate didn't get set early enough to be used by php-fpm.
What we do currently is create https://github.com/drud/ddev-platformsh/blob/main/homeadditions/.bashrc.d/platformsh-environment.sh, which loads environment variables in bash based on .global/environment and .environment.
Some things we could do instead:
- Create a .ddev/.env with these same environment variables (but that could overwrite user info) or
- Create a
docker-compose.platformsh.yaml
that set them with anenvironment
section.
Both of these are pretty easy.
Metadata
Metadata
Assignees
Labels
No labels