Jitsi : prep pour podman-compose et podman 4.1+

This commit is contained in:
Gitouche 2022-11-04 13:07:13 +01:00
parent 938b3128b0
commit 4add93f316
2 changed files with 7 additions and 0 deletions

View file

@ -62,7 +62,11 @@ echo "ENABLE_IPV6=0" >> .env
export listen_if
export listen_port
# podman-compose 0.1.x + podman 4.0
podman-compose --podman-run-args "--env-file .env" up -d &&
# podman-compose 1.0.4 (devel) + podman 4.1+
# podman-compose --pod-args "--infra=true --infra-name=podman-jitsi_infra --share=" --podman-run-args "--requires=podman-jitsi_infra --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 cp assets/welcome-background.png podman-jitsi_web_1:/usr/share/jitsi-meet/images/welcome-background.png &&

View file

@ -7,7 +7,10 @@ listen_port="${GARBAYE_JITSI_ENV_LISTENPORT:-8085}"
GARBAYE_JITSI_URL="${GARBAYE_JITSI_ENV_URL:-https://jitsi.garbaye.fr}"
## internal vars : do not touch
project_name=${PWD##*/}
# podman-compose 0.1.x + podman 4.0
pod_name="${project_name}"
# podman-compose 1.0.4 (devel) + podman 4.1+
# pod_name='pod_podman-jitsi'
service_name="pod-${pod_name}.service"
get_default_iface_ipv4 GARBAYE_JITSI_PRIV_IP
upstream_images="git.garbaye.fr/garbaye/jitsi-jvb git.garbaye.fr/garbaye/jitsi-jicofo git.garbaye.fr/garbaye/jitsi-prosody git.garbaye.fr/garbaye/jitsi-web"