-
Since latest version We are been using a custom command
Since we didn't want to add sensitive data like the database password to git, we added it ( I guess we should switch to the new hosting provider integration (shipped with Looking forward for any help and opinions! The custom command was copied from this gist and slightly adjusted: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 19 replies
-
ddev has never had any support for .env files. docker-compose might have had some kind of change... |
Beta Was this translation helpful? Give feedback.
-
Hey y'all, just stumbled about this! I'm planning to use provider integration https://ddev.readthedocs.io/en/stable/users/providers/provider-introduction/ via rsync (https://github.com/drud/ddev/blob/master/pkg/ddevapp/dotddev_assets/providers/rsync.yaml.example). I now have the same challenge as @dahaupt: Where could I secretly store the SSH oder database password? Is there a current solution? Does not need to be an .env file, can be another solution (another file) as well, as long as it can be ignored in git. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
A followup on this thread. Docker Compose will read environment variables stored in a We use this method as follows with DDEV:
Hope this was helpful! |
Beta Was this translation helpful? Give feedback.
ddev has never had any support for .env files. docker-compose might have had some kind of change...