From 8bb33a701a1352d6fa8e586e39eb3803ee327db1 Mon Sep 17 00:00:00 2001 From: Jeffrey Serio Date: Fri, 31 Jan 2025 21:47:13 -0600 Subject: [PATCH] Add auto_podman_compose --- shell/auto_podman_compose | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 shell/auto_podman_compose diff --git a/shell/auto_podman_compose b/shell/auto_podman_compose new file mode 100755 index 0000000..c76121c --- /dev/null +++ b/shell/auto_podman_compose @@ -0,0 +1,26 @@ +#!/usr/bin/env bash + +containers=( + AnonymousOverflow + docker-breezewiki-quay + dumb + elk + freshrss + gothub + libremdb + lingva-translate + privatebin + qbittorrent-docker + redlib + searxng + shaarli +) + +COMPOSE_DIR="${HOME}/podman" + +for ctn in "${containers[@]}"; do + cd "${COMPOSE_DIR}/${ctn}" + podman-compose down + podman-compose pull + podman-compose up -d +done