diff --git a/kontor-vue/Dockerfile b/kontor-vue/Containerfile similarity index 100% rename from kontor-vue/Dockerfile rename to kontor-vue/Containerfile diff --git a/script/cibuild b/script/cibuild index 10c4c0c..d9346c3 100755 --- a/script/cibuild +++ b/script/cibuild @@ -18,4 +18,6 @@ echo " => Baue Image localhost/kontor-fiber:0.3.0" buildah build -t kontor-fiber:0.3.0 kontor-fiber echo " => Baue Image localhost/kontor-javalin:0.3.0" 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 diff --git a/script/setup b/script/setup index 9b81bff..f77d911 100755 --- a/script/setup +++ b/script/setup @@ -29,6 +29,7 @@ else -p 8400:8400 \ -p 8500:8500 \ -p 8600:8600 \ + -p 8700:80 \ -p 8900:8080 \ -p 61616:61616 \ -p 8161:8161 \ @@ -216,3 +217,21 @@ else localhost/kontor-javalin:0.3.0 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 +