From 328f1503fe1ff520b17c20015efe56dfc84befa3 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sat, 12 Feb 2022 19:24:20 +0100 Subject: [PATCH] Add variables to peerjs --- podman-peerjs/vars.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/podman-peerjs/vars.sh b/podman-peerjs/vars.sh index f0a6937..d24291c 100644 --- a/podman-peerjs/vars.sh +++ b/podman-peerjs/vars.sh @@ -2,7 +2,7 @@ container_name='peerjs-server' service_name="container-${container_name}.service" -listen_if='127.0.0.1' -listen_port='9000' +listen_if="${GARBAYE_PEERJS_ENV_LISTENIF:-127.0.0.1}" +listen_port="${GARBAYE_PEERJS_ENV_LISTENPORT:-9000}" upstream_images='docker.io/peerjs/peerjs-server' version='0.6.1'