Run conf-copy before upping instance

This commit is contained in:
Jörn-Michael Miehe 2020-08-18 16:02:45 +02:00
parent 1a98137c71
commit e45d3ae83f

View file

@ -12,6 +12,12 @@ class UpCommand(FlexCommand):
description="Bring up the whole instance, a project or service(s) inside a project" description="Bring up the whole instance, a project or service(s) inside a project"
) )
def _run_instance(self, runner, config, args):
if runner.run('conf-copy'):
return super()._run_instance(runner, config, args)
return False
def _run_services(self, runner, config, args, services): def _run_services(self, runner, config, args, services):
if runner.run('net-up'): if runner.run('net-up'):
DockerCommand('docker-compose').run( DockerCommand('docker-compose').run(