services: add debug message with service running and a link
This commit is contained in:
parent
b3e6db87fa
commit
5d2f509a72
@ -81,6 +81,11 @@ class DockerServiceCLI(BaseCli):
|
|||||||
subprocess.run(command, check=True)
|
subprocess.run(command, check=True)
|
||||||
except subprocess.CalledProcessError as e:
|
except subprocess.CalledProcessError as e:
|
||||||
self.error(f"Error executing command: {' '.join(command)}, return code: {e.returncode}")
|
self.error(f"Error executing command: {' '.join(command)}, return code: {e.returncode}")
|
||||||
|
url=f"http://{service.host.ip}"
|
||||||
|
if len(service.ports) > 0:
|
||||||
|
url += f":{service.ports[0]}"
|
||||||
|
|
||||||
|
self.info(f"Service {service.name} running on {service.host.ip}:{service.ports[0]}")
|
||||||
|
|
||||||
|
|
||||||
def start(self):
|
def start(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user