Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 4bd7464

Browse files
ndeloofulyssessouza
authored andcommitted
Add support for .env file when loading compose files
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
1 parent 992a91e commit 4bd7464

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/cmd/compose/compose.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ func (o *composeOptions) toProjectName() (string, error) {
6565
func (o *composeOptions) toProjectOptions() (*cli.ProjectOptions, error) {
6666
return cli.NewProjectOptions(o.ConfigPaths,
6767
cli.WithOsEnv,
68+
cli.WithDotEnv,
6869
cli.WithEnv(o.Environment),
6970
cli.WithWorkingDirectory(o.WorkingDir),
7071
cli.WithName(o.Name))

0 commit comments

Comments
 (0)