peerjs : options du containeur desormais explicites
This commit is contained in:
parent
69d1edcde6
commit
580b4c8926
|
@ -12,7 +12,7 @@ ensure_container_not_exists ${container_name}
|
||||||
if ! podman image exists ${upstream_images}:${version}; then
|
if ! podman image exists ${upstream_images}:${version}; then
|
||||||
podman image pull ${upstream_images}:${version} || exit 1
|
podman image pull ${upstream_images}:${version} || exit 1
|
||||||
fi
|
fi
|
||||||
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} &&
|
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} --port 9000 --path /myapp &&
|
||||||
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'Started PeerServer' &&
|
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'Started PeerServer' &&
|
||||||
podman stop ${container_name} &&
|
podman stop ${container_name} &&
|
||||||
echo Container ${container_name} successfully built and stopped.
|
echo Container ${container_name} successfully built and stopped.
|
||||||
|
|
Loading…
Reference in a new issue