From ed0ce35c2c9a6c9f21a50fc940400e8e3f6a2252 Mon Sep 17 00:00:00 2001 From: Sebastian Gilits Date: Tue, 20 Jun 2017 15:48:19 +0200 Subject: [PATCH] Fix auth files not concatenated correctly. --- dork_compose/plugins/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dork_compose/plugins/proxy.py b/dork_compose/plugins/proxy.py index 01c0eb3..3b786e7 100644 --- a/dork_compose/plugins/proxy.py +++ b/dork_compose/plugins/proxy.py @@ -184,7 +184,7 @@ def initializing(self, project, service_names=None): for service in project.get_services(): if self.auth_dir and 'environment' in service.options and 'VIRTUAL_HOST' in service.options['environment']: - lines = auth[service.name] + lines = '\n'.join(auth[service.name]) authfile = '%s/%s' % (self.auth_dir, service.options['environment']['VIRTUAL_HOST']) if lines: if not os.path.isdir(self.auth_dir):