.env vs compose patterns #41
ethanknox-palmetto
started this conversation in
General
Replies: 1 comment
-
relates to #27 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I think a docker-compose bug may have made our code better.
We were relying on a pattern with
.env
and.env.template
that in hindsight seems grody. Let's make the defacto be that we define envars in compose (or in the command processes themselves if needed) and only populate called-for envars in.env
. That is much cleaner and less cryptic (when you get a repo with no.env
and need to create one you shouldn't have to guess at the keys) .Beta Was this translation helpful? Give feedback.
All reactions