Skip to content

Commit

Permalink
feat: support compose.yaml and compose.yml files
Browse files Browse the repository at this point in the history
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
  • Loading branch information
TessaIO committed Apr 5, 2023
1 parent db767c8 commit 76a7391
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ kompose
bin
/docker-compose.yaml
/docker-compose.yml
/compose.yaml
/compose.yml
changes.txt

# Ignore site documents / when switching branches
Expand Down
6 changes: 3 additions & 3 deletions pkg/app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ import (
var (
// DefaultComposeFiles is a list of filenames that kompose will use if no file is explicitly set
DefaultComposeFiles = []string{
"docker-compose.yml",
"compose.yaml",
"compose.yml",
"docker-compose.yaml",
"container-compose.yml",
"container-compose.yaml",
"docker-compose.yml",
}
)

Expand Down

0 comments on commit 76a7391

Please sign in to comment.