rename Dockerfile to Containerfile and integrate kontor-vue in pod kontor

This commit is contained in:
2026-04-04 20:52:46 +02:00
parent dd1503963e
commit 92ddf5e95f
3 changed files with 21 additions and 0 deletions
+2
View File
@@ -18,4 +18,6 @@ echo " => Baue Image localhost/kontor-fiber:0.3.0"
buildah build -t kontor-fiber:0.3.0 kontor-fiber buildah build -t kontor-fiber:0.3.0 kontor-fiber
echo " => Baue Image localhost/kontor-javalin:0.3.0" echo " => Baue Image localhost/kontor-javalin:0.3.0"
buildah build -t kontor-javalin:0.3.0 kontor-javalin buildah build -t kontor-javalin:0.3.0 kontor-javalin
echo " => Baue Image localhost/kontor-vue:0.3.0"
buildah build -t kontor-vue:0.3.0 kontor-vue
+19
View File
@@ -29,6 +29,7 @@ else
-p 8400:8400 \ -p 8400:8400 \
-p 8500:8500 \ -p 8500:8500 \
-p 8600:8600 \ -p 8600:8600 \
-p 8700:80 \
-p 8900:8080 \ -p 8900:8080 \
-p 61616:61616 \ -p 61616:61616 \
-p 8161:8161 \ -p 8161:8161 \
@@ -216,3 +217,21 @@ else
localhost/kontor-javalin:0.3.0 localhost/kontor-javalin:0.3.0
fi fi
echo "==> Setting up container kontor-vue"
if podman image exists localhost/kontor-vue:0.3.0; then
echo " => Image localhost/kontor-vue:0.3.0 available"
fi
if podman container exists kontor-vue; then
if podman ps -q --filter "name=kontor-vue"; then
echo " => kontor-vue is running"
fi
else
podman run -d \
--replace \
--pod kontor \
--name kontor-javalin \
--label "io.containers.autoupdate=local" \
--label "PODMAN_SYSTEMD_UNIT=container-kontor-vue.service" \
localhost/kontor-vue:0.3.0
fi