diff --git a/goth/configuration.py b/goth/configuration.py index f2e6efd4..a0bc466b 100644 --- a/goth/configuration.py +++ b/goth/configuration.py @@ -213,12 +213,12 @@ def read_compose_config(self) -> ComposeConfig: if build_env_config: build_env_config.ensure_type(dict) build_env = build_env_config.read_build_env(docker_dir) + compose_file = build_env_config["compose-file"] else: build_env = YagnaBuildEnvironment(docker_dir) + compose_file = DEFAULT_COMPOSE_FILE - return ComposeConfig( - build_env, docker_dir / DEFAULT_COMPOSE_FILE, log_patterns.doc - ) + return ComposeConfig(build_env, docker_dir / compose_file, log_patterns.doc) def read_build_env(self, docker_dir: Path) -> YagnaBuildEnvironment: """Read a `YagnaBuildEnvironment` instance from this parser's document.""" diff --git a/goth/default-assets/goth-config.yml b/goth/default-assets/goth-config.yml index 715c6e07..9c5cb877 100644 --- a/goth/default-assets/goth-config.yml +++ b/goth/default-assets/goth-config.yml @@ -5,6 +5,7 @@ docker-compose: + compose-file: "docker-compose.yml" docker-dir: "docker/" build-environment: