Peerjs : use service_name. Prep pour podman-compose 1.+ FIX1

This commit is contained in:
Gitouche 2022-09-03 15:32:11 +02:00
parent 2b42ce10b6
commit 071aa22cf3
1 changed files with 1 additions and 1 deletions

View File

@ -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.