mirror of
https://github.com/docker/compose.git
synced 2025-07-21 04:34:38 +02:00
Fix project settings' options order
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
d38a315798
commit
2530bd981a
@ -199,10 +199,10 @@ func (o *projectOptions) toProject(services []string, po ...cli.ProjectOptionsFn
|
|||||||
func (o *projectOptions) toProjectOptions(po ...cli.ProjectOptionsFn) (*cli.ProjectOptions, error) {
|
func (o *projectOptions) toProjectOptions(po ...cli.ProjectOptionsFn) (*cli.ProjectOptions, error) {
|
||||||
return cli.NewProjectOptions(o.ConfigPaths,
|
return cli.NewProjectOptions(o.ConfigPaths,
|
||||||
append(po,
|
append(po,
|
||||||
|
cli.WithWorkingDirectory(o.ProjectDir),
|
||||||
cli.WithEnvFile(o.EnvFile),
|
cli.WithEnvFile(o.EnvFile),
|
||||||
cli.WithDotEnv,
|
cli.WithDotEnv,
|
||||||
cli.WithOsEnv,
|
cli.WithOsEnv,
|
||||||
cli.WithWorkingDirectory(o.ProjectDir),
|
|
||||||
cli.WithConfigFileEnv,
|
cli.WithConfigFileEnv,
|
||||||
cli.WithDefaultConfigPath,
|
cli.WithDefaultConfigPath,
|
||||||
cli.WithName(o.ProjectName))...)
|
cli.WithName(o.ProjectName))...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user