Peerjs : use service_name. Prep pour podman-compose 1.+ FIX1
This commit is contained in:
parent
2b42ce10b6
commit
071aa22cf3
|
@ -11,6 +11,6 @@ ensure_container_not_exists ${container_name}
|
|||
|
||||
podman pull ${upstream_images}:${version} &&
|
||||
podman run --name ${container_name} --user nobody -p ${listen_if}:${listen_port}:9000 -d ${upstream_images}:${version} &&
|
||||
( podman logs -f peerjs-server 2>&1 & ) | grep -q 'Started PeerServer' &&
|
||||
( podman logs -f ${container_name} 2>&1 & ) | grep -q 'Started PeerServer' &&
|
||||
podman stop ${container_name} &&
|
||||
echo Container ${container_name} successfully built and stopped.
|
||||
|
|
Loading…
Reference in a new issue