28 lines
578 B
Bash
28 lines
578 B
Bash
#!/bin/bash
|
|
|
|
# 1. LIST YOUR NAMES HERE
|
|
LIST=(
|
|
## immich_stack
|
|
"immich_server"
|
|
"immich_machine_learning"
|
|
"immich_redis"
|
|
"immich_postgres"
|
|
## dozzle
|
|
"dozzle_immich"
|
|
"beszel-agent-immich"
|
|
"hawser-immich"
|
|
)
|
|
|
|
echo "--- Workflow Container Manager ---"
|
|
|
|
for NAME in "${LIST[@]}"; do
|
|
# 'podman start' is safe to run even if the container is already up.
|
|
if sudo podman start "$NAME" >/dev/null 2>&1; then
|
|
echo "[ UP ] $NAME"
|
|
else
|
|
echo "[ FAIL ] $NAME (Check 'sudo podman ps -a' to see if it exists)"
|
|
fi
|
|
done
|
|
|
|
echo "----------------------------------"
|