forked from LaconicNetwork/kompose
fix: Load variables from .env file by default
This commit is contained in:
parent
1b29e031e3
commit
7dddd1f0e8
@ -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")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user