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):