def remote_docker_compose(client_ip, docker_host, compose_file_path, *args):
 return remote_command(client_ip, (('COMPOSE_HTTP_TIMEOUT=360', 'DOCKER_TLS_VERIFY=1', 'DOCKER_HOST={}'.format(docker_host), 'docker-compose', '--file', compose_file_path) + args))

def remote_docker_compose ( client_ip , docker_host , compose_file_path , * args ) : return remote_command ( client_ip , ( ( 'COMPOSE_HTTP_TIMEOUT=360' , 'DOCKER_TLS_VERIFY=1' , 'DOCKER_HOST={}' . format ( docker_host ) , 'docker-compose' , '--file' , compose_file_path ) + args ) )
run docker-compose on client_ip .