mirror of https://github.com/docker/compose.git
Add `compose.yaml/.yml` to default filenames
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
This commit is contained in:
parent
4a26d95de4
commit
f5342b600c
|
@ -149,9 +149,14 @@ DOCKER_VALID_URL_PREFIXES = (
|
|||
SUPPORTED_FILENAMES = [
|
||||
'docker-compose.yml',
|
||||
'docker-compose.yaml',
|
||||
'compose.yml',
|
||||
'compose.yaml',
|
||||
]
|
||||
|
||||
DEFAULT_OVERRIDE_FILENAMES = ('docker-compose.override.yml', 'docker-compose.override.yaml')
|
||||
DEFAULT_OVERRIDE_FILENAMES = ('docker-compose.override.yml',
|
||||
'docker-compose.override.yaml',
|
||||
'compose.override.yml',
|
||||
'compose.override.yaml')
|
||||
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
import tempfile
|
||||
|
||||
import pytest
|
||||
from ddt import data
|
||||
from ddt import ddt
|
||||
|
||||
import pytest
|
||||
|
||||
from .. import mock
|
||||
from ..acceptance.cli_test import dispatch
|
||||
from compose.cli.command import get_project
|
||||
|
|
|
@ -5235,6 +5235,8 @@ class GetDefaultConfigFilesTestCase(unittest.TestCase):
|
|||
files = [
|
||||
'docker-compose.yml',
|
||||
'docker-compose.yaml',
|
||||
'compose.yml',
|
||||
'compose.yaml',
|
||||
]
|
||||
|
||||
def test_get_config_path_default_file_in_basedir(self):
|
||||
|
|
Loading…
Reference in New Issue