forked from mtusi2026/mtusi2026lab7
feat(security): add operator rotation and recovery commands
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
"""Restart persistent services and rejoin their protected local namespaces."""
|
||||
|
||||
from scripts.stand import compose, ready
|
||||
|
||||
|
||||
def main():
|
||||
compose(
|
||||
"restart",
|
||||
"api",
|
||||
"postgres",
|
||||
"cache",
|
||||
"s3",
|
||||
"broker",
|
||||
"relay",
|
||||
"worker",
|
||||
"lb",
|
||||
)
|
||||
compose("up", "-d", "--no-build", "--no-recreate", "--wait")
|
||||
ready(timeout=90)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user