rename Dockerfile to Containerfile and integrate kontor-vue in pod kontor
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user