Выполнение lab4 на 4
This commit is contained in:
@@ -16,7 +16,7 @@ def main():
|
||||
action = sys.argv[1]
|
||||
if action == "restart":
|
||||
# Stop all running application components before restarting shared stores.
|
||||
docker("compose", "--env-file", ".env", "stop", "lb", "api", "redis", "postgres")
|
||||
docker("compose", "--env-file", ".env", "stop", "lb", "api", "redis", "postgres", "s3")
|
||||
docker("compose", "--env-file", ".env", "up", "-d", "--wait", "--wait-timeout", "60")
|
||||
elif action == "stop-one":
|
||||
target = os.environ["TARGET_INSTANCE_ID"]
|
||||
|
||||
Reference in New Issue
Block a user