Rename binary to docker-compose and config file to docker-compose.yml

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-01-20 11:27:10 +00:00
commit 620e29b63f
19 changed files with 35 additions and 35 deletions

View file

@ -110,13 +110,13 @@ class Command(DocoptCommand):
if file_path:
return os.path.join(self.base_dir, file_path)
if os.path.exists(os.path.join(self.base_dir, 'compose.yaml')):
log.warning("Fig just read the file 'compose.yaml' on startup, rather "
"than 'compose.yml'")
if os.path.exists(os.path.join(self.base_dir, 'docker-compose.yaml')):
log.warning("Fig just read the file 'docker-compose.yaml' on startup, rather "
"than 'docker-compose.yml'")
log.warning("Please be aware that .yml is the expected extension "
"in most cases, and using .yaml can cause compatibility "
"issues in future")
return os.path.join(self.base_dir, 'compose.yaml')
return os.path.join(self.base_dir, 'docker-compose.yaml')
return os.path.join(self.base_dir, 'compose.yml')
return os.path.join(self.base_dir, 'docker-compose.yml')