From be6dce112955226047639049235ad2edab77f9fc Mon Sep 17 00:00:00 2001 From: Francesco Uliana Date: Sun, 23 Aug 2015 12:57:58 +0200 Subject: [PATCH] upgrade to docker-compose 1.4.0 --- requirements.txt | 2 +- scripts/bridge.py | 9 +++++---- static/index.html | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index bdfbb7f..6662efd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ Flask==0.10.1 -docker-compose==1.3.3 +docker-compose==1.4.0 diff --git a/scripts/bridge.py b/scripts/bridge.py index 6d5b53c..ecfc134 100644 --- a/scripts/bridge.py +++ b/scripts/bridge.py @@ -2,8 +2,9 @@ bridge to docker-compose """ -from compose.cli.main import TopLevelCommand +from compose.cli.command import Command from compose.container import Container +from compose.config import get_config_path import logging @@ -51,7 +52,7 @@ def get_project(path): get docker project given file path """ logging.debug('get project ' + path) - command = TopLevelCommand() - command.base_dir = path - project = command.get_project(command.get_config_path()) + command = Command() + config_path = get_config_path(path) + project = command.get_project(config_path) return project diff --git a/static/index.html b/static/index.html index 0e824a7..28224dc 100644 --- a/static/index.html +++ b/static/index.html @@ -16,7 +16,7 @@
-

Docker Compose UI v.0.7

+

Docker Compose UI v.0.8