forked from mtusi2026/mtusi2026lab4
Лабораторная 4
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
subprocess.run(
|
||||
["docker", "compose", "--env-file", ".env", "restart", "postgres", "s3", "api1", "api2", "nginx"],
|
||||
cwd=root,
|
||||
check=True,
|
||||
)
|
||||
Reference in New Issue
Block a user