25 lines
467 B
Bash
Executable File
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
|
|
|