Files
kontor/script/create_volumes
Thomas Peetz 0ad1969614
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
separate podman pod creation in several files
2026-09-15 13:42:09 +02:00

25 lines
467 B
Bash
Executable File

#!/bin/bash
# script/setup: Set up container for the first time after cloning
set -e
cd "$(dirname "$0")/.."
source version
echo "==> Setting up volume kontor-db"
if podman volume exists kontor-db; then
echo " => volume kontor-db exists"
else
podman volume create kontor-db
fi
echo "==> Setting up volume activemq-data"
if podman volume exists activemq-data; then
echo " => volume kontor-db exists"
else
podman volume create activemq-data
fi