mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
os ENV has precedence over env file
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
598f7bba1f
commit
8525ac44ed
@ -83,9 +83,9 @@ func (o *projectOptions) toProject(services []string) (*types.Project, error) {
|
||||
|
||||
func (o *projectOptions) toProjectOptions() (*cli.ProjectOptions, error) {
|
||||
return cli.NewProjectOptions(o.ConfigPaths,
|
||||
cli.WithOsEnv,
|
||||
cli.WithEnvFile(o.EnvFile),
|
||||
cli.WithDotEnv,
|
||||
cli.WithOsEnv,
|
||||
cli.WithWorkingDirectory(o.WorkingDir),
|
||||
cli.WithName(o.ProjectName))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user