uselagoon / lagoon

Lagoon, the developer-focused application delivery platform
https://docs.lagoon.sh/
Apache License 2.0
548 stars 147 forks source link

Confusing information regarding .env and .lagoon.env based env files #3732

Open shreddedbacon opened 1 month ago

shreddedbacon commented 1 month ago

The following section in the documentation references adding .env and .lagoon.env files into the git repo, but neglects to inform the user that they also need to be added to the Dockerfile, as this is roughly mentioned at the top of the page.

https://docs.lagoon.sh/concepts-advanced/environment-variables/#environment-files-existing-directly-in-the-git-repo

It might be worth including a note in the sub section that the files need to be included in the built images, or structured a bit differently to make it clearer in both areas that the files need to be added to the containers via the Dockerfile for each service that they need to be available in.