forked from mtusi2026/mtusi2026lab4
chore: carry over lab3 implementation
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
started() {
|
||||
docker inspect -f '{{.Name}} {{.State.Status}} started={{.State.StartedAt}}' $(docker compose ps -aq postgres redis api lb)
|
||||
}
|
||||
started
|
||||
docker compose restart postgres redis api lb
|
||||
started
|
||||
Reference in New Issue
Block a user