mirror of
https://github.com/docker/compose.git
synced 2026-06-25 18:48:47 +00:00
Implement 'docker-compose push' and 'docker-compose bundle'
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
21f20cbc9b
commit
1ea9dda1d3
8 changed files with 296 additions and 20 deletions
|
|
@ -35,6 +35,16 @@ def project_from_options(project_dir, options):
|
|||
)
|
||||
|
||||
|
||||
def get_config_from_options(base_dir, options):
|
||||
environment = Environment.from_env_file(base_dir)
|
||||
config_path = get_config_path_from_options(
|
||||
base_dir, options, environment
|
||||
)
|
||||
return config.load(
|
||||
config.find(base_dir, config_path, environment)
|
||||
)
|
||||
|
||||
|
||||
def get_config_path_from_options(base_dir, options, environment):
|
||||
file_option = options.get('--file')
|
||||
if file_option:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue