fix: exec docker compose in stackdir

This commit is contained in:
Sebastian Mark 2023-12-19 22:20:37 +01:00
parent 5640899198
commit 18cce050e2

3
dc-ops
View file

@ -63,7 +63,8 @@ for stack in cfg["stacks"]:
for composefile in composefiles: for composefile in composefiles:
try: try:
subprocess.run( subprocess.run(
f"docker compose --file {stackdir}/{composefile} up --build --detach --remove-orphans", # noqa f"docker compose --file {composefile} up --build --detach --remove-orphans", # noqa
cwd=stackdir,
shell=True, shell=True,
text=True, text=True,
) )