peerjs : suite 2

This commit is contained in:
Gitouche 2022-02-10 21:51:36 +01:00
parent 0a6fcfe41f
commit 0b4e79e9bc
3 changed files with 3 additions and 3 deletions

View File

@ -9,4 +9,4 @@ ensure_not_root
ensure_container_not_exists ${container_name}
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${upstream_version} && podman stop ${container_name} && echo Container ${container_name} successfully built and stopped.
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} && podman stop ${container_name} && echo Container ${container_name} successfully built and stopped.

View File

@ -9,7 +9,7 @@ ensure_not_root
ensure_container_exists ${container_name}
upstream_imageversion=${upstream_images}:${upstream_version}
upstream_imageversion=${upstream_images}:${version}
current_imageversion=$(podman container inspect -f '{{.ImageName}}' ${container_name})
if [[ "${upstream_imageversion}" == "${current_imageversion}" ]] ; then

View File

@ -5,4 +5,4 @@ service_name="container-${container_name}.service"
listen_if='127.0.0.1'
listen_port='9000'
upstream_images='docker.io/peerjs/peerjs-server'
upstream_version='0.6.1'
version='0.6.1'