24 lines
504 B
Bash
Executable File
24 lines
504 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# script/setup: Set up container for the first time after cloning
|
|
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
source version
|
|
|
|
script/bootstrap
|
|
|
|
echo "==> Setting up container activemq"
|
|
if podman container exists activemq; then
|
|
if podman ps -q --filter "name=activemq"; then
|
|
echo " => adminer is running"
|
|
fi
|
|
else
|
|
podman run -d --replace --pod kontor --name activemq \
|
|
-v activemq-data:/var/lib/artemis-instance \
|
|
docker.io/apache/activemq-artemis:latest-alpine
|
|
fi
|
|
|