Skip to content

Feature: .ddev/.env.<anything> or .ddev/.env.global.<anything> #7235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rfay opened this issue Apr 25, 2025 · 1 comment
Open

Feature: .ddev/.env.<anything> or .ddev/.env.global.<anything> #7235

rfay opened this issue Apr 25, 2025 · 1 comment

Comments

@rfay
Copy link
Member

rfay commented Apr 25, 2025

Feature Request

We might want to have a way to use a unique .ddev/.env.* file for particular applications.

This specifically relates to

They would like a Craft-specific .env that is not in the application space. It's a good idea and would improve all the CMSs that use .env, and we wouldn't be writing their file or really needing the #ddev-generated as much, although we can still request it.

Currently .ddev/.env works great for all containers, and .ddev/.env.* refers to a particular container name like .ddev/.env.solr

@stasadev
Copy link
Member

Think about how we should gitignore these .env files in the .ddev/ directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants