mirror of
https://github.com/katanemo/plano.git
synced 2026-06-20 15:28:07 +02:00
wip
Signed-off-by: José Ulises Niño Rivera <junr03@users.noreply.github.com>
This commit is contained in:
parent
6cd05572c4
commit
e61e78242c
23 changed files with 2708 additions and 440 deletions
|
|
@ -14,8 +14,6 @@ logging.basicConfig(
|
|||
|
||||
|
||||
def getLogger(name="cli"):
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger(name)
|
||||
logger.setLevel(logging.INFO)
|
||||
return logger
|
||||
|
|
@ -32,7 +30,8 @@ def run_docker_compose_ps(compose_file, env):
|
|||
path (str): The path where the docker-compose.yml file is located.
|
||||
"""
|
||||
try:
|
||||
# Run `docker compose ps` to get the health status of each service
|
||||
# Run `docker compose ps` to get the health status of each service.
|
||||
# This should be a non-blocking call so using subprocess.Popen(...)
|
||||
ps_process = subprocess.Popen(
|
||||
[
|
||||
"docker",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue