mirror of
https://github.com/docker/compose.git
synced 2025-07-05 12:54:27 +02:00
Merge pull request #1091 from docker/dotEnv
Add support for .env file when loading compose files
This commit is contained in:
commit
4dd8931d0d
@ -65,6 +65,7 @@ func (o *composeOptions) toProjectName() (string, error) {
|
||||
func (o *composeOptions) toProjectOptions() (*cli.ProjectOptions, error) {
|
||||
return cli.NewProjectOptions(o.ConfigPaths,
|
||||
cli.WithOsEnv,
|
||||
cli.WithDotEnv,
|
||||
cli.WithEnv(o.Environment),
|
||||
cli.WithWorkingDirectory(o.WorkingDir),
|
||||
cli.WithName(o.Name))
|
||||
|
Loading…
x
Reference in New Issue
Block a user