forked from LaconicNetwork/kompose
fix: Load variables from .env file by default
This commit is contained in:
1 parent
1b29e031e3
commit
7dddd1f0e8
1 file changed
+2
@@ -163,6 +163,8 @@ func (c *Compose) LoadFile(files []string, profiles []string, noInterpolate bool
|
||||
cli.WithWorkingDirectory(workingDir),
|
||||
cli.WithInterpolation(!noInterpolate),
|
||||
cli.WithProfiles(profiles),
|
||||
cli.WithEnvFiles([]string{}...),
|
||||
cli.WithDotEnv,
|
||||
)
|
||||
if err != nil {
|
||||
return kobject.KomposeObject{}, errors.Wrap(err, "Unable to create compose options")
|
||||
|
||||
Reference in new issue
Block a user