Jitsi : .env file as per https://github.com/jitsi/docker-jitsi-meet/issues/201
This commit is contained in:
parent
910527190e
commit
c693a51dc1
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue