separate podman pod creation in several files
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user