separate podman pod creation in several files
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s

This commit is contained in:
Thomas Peetz
2026-09-15 13:42:09 +02:00
parent d80aefe6b2
commit 0ad1969614
17 changed files with 541 additions and 353 deletions
+39
View File
@@ -0,0 +1,39 @@
#!/bin/bash
# script/create_pod_kontor: Set up container for the first time after cloning
set -e
cd "$(dirname "$0")/.."
source version
echo "==> Setting up pod kontor"
if podman pod exists kontor; then
echo " => pod kontor exists"
if podman pod ps --filter "name=kontor" --filter "status=running"; then
echo " => pod kontor is running"
else
podman pod start kontor
fi
else
podman pod create --name kontor \
--infra \
-p 5432:5432 \
-p 8100:8100 \
-p 8200:8200 \
-p 8300:8300 \
-p 8400:8400 \
-p 8500:8500 \
-p 8600:8600 \
-p 8700:8700 \
-p 8800:8800 \
-p 8900:8080 \
-p 9876:80 \
-p 61616:61616 \
-p 8161:8161 \
-p 5672:5672 \
--network bridge
fi