diff --git a/podman-jitsi/10_install.sh b/podman-jitsi/10_install.sh index 7a8dfcb..b3296ce 100755 --- a/podman-jitsi/10_install.sh +++ b/podman-jitsi/10_install.sh @@ -37,7 +37,6 @@ cp env.example .env ./gen-passwords.sh # Patch docker-compose.yml -sed_in_place "^ environment:" " env_file:\n - .env\n environment:" docker-compose.yml sed_in_place "^ - '\${HTTP_PORT}:80'" " - '\${listen_if}:\${HTTP_PORT}:80'" docker-compose.yml sed_in_place "^ - '\${HTTPS_PORT}:443'" "# - '\${HTTPS_PORT}:443'" docker-compose.yml @@ -62,7 +61,7 @@ echo "ENABLE_P2P=false" >> .env export listen_if export listen_port -podman-compose up -d && +podman-compose --podman-run-args "--env-file .env" up -d && # Wait for web to be up ( podman logs --tail=3 -f podman-jitsi_web_1 2>&1 & ) | grep -q '^\[services.d\] done.$' && podman pod stop ${pod_name} && echo Pod built and stopped.