Add deployment helper scripts

This commit is contained in:
Sleeps
2026-10-07 11:01:43 +01:00
parent 7d84c50126
commit 7b09384f31
7 changed files with 258 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -Eeuo pipefail
source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/common.sh"
need docker
compose version >/dev/null
banner "Rebuilding and starting Docker services"
if [[ $# -gt 0 ]]; then
compose up -d --build --remove-orphans "$@"
else
compose up -d --build --remove-orphans
fi
banner "Docker status"
compose ps