fix: exec docker compose in stackdir
This commit is contained in:
parent
5640899198
commit
18cce050e2
1 changed files with 2 additions and 1 deletions
3
dc-ops
3
dc-ops
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue