Jitsi : gitea 2

This commit is contained in:
Gitouche 2022-08-12 21:08:18 +02:00
parent c9883a66ea
commit e240d4dbca
3 changed files with 7 additions and 3 deletions

View file

@ -15,7 +15,7 @@ if [[ -d ~/${confvolume} ]]; then
fi fi
for image in ${upstream_images}; do for image in ${upstream_images}; do
podman image pull ${image}:${version} podman image pull ${image}:${version} || exit 1
done && done &&
mkdir -p ~/${confvolume}/{web/letsencrypt,web/crontabs,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri} mkdir -p ~/${confvolume}/{web/letsencrypt,web/crontabs,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri}
@ -39,7 +39,7 @@ cp env.example .env
./gen-passwords.sh ./gen-passwords.sh
# Patch docker-compose.yml # Patch docker-compose.yml
sed_in_place "image: jitsi/" "image: git-garbaye.fr/garbaye/jitsi-" docker-compose.yml sed_in_place "image: jitsi/" "image: git.garbaye.fr/garbaye/jitsi-" docker-compose.yml
sed_in_place "^ - '\${HTTP_PORT}:80'" " - '\${listen_if}:\${HTTP_PORT}:80'" 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 sed_in_place "^ - '\${HTTPS_PORT}:443'" "# - '\${HTTPS_PORT}:443'" docker-compose.yml
sed_in_place "^ - '127.0.0.1:\${JVB_COLIBRI_PORT:-8080}:8080'" "# - '127.0.0.1:\${JVB_COLIBRI_PORT:-8080}:8080'" docker-compose.yml sed_in_place "^ - '127.0.0.1:\${JVB_COLIBRI_PORT:-8080}:8080'" "# - '127.0.0.1:\${JVB_COLIBRI_PORT:-8080}:8080'" docker-compose.yml

View file

@ -14,7 +14,7 @@ current_version=$(podman ps -a --format "{{.Image}}" | grep prosody | awk -F: '{
reinstall_please () { reinstall_please () {
for image in ${upstream_images}; do for image in ${upstream_images}; do
podman image pull ${image}:${version} podman image pull ${image}:${version} || exit 1
done && done &&
check_pod_running ${pod_name} && ./40_stop.sh check_pod_running ${pod_name} && ./40_stop.sh
./70_disable.sh && \ ./70_disable.sh && \

View file

@ -47,3 +47,7 @@ curl -sSfL -- "https://github.com/jitsi/docker-jitsi-meet/archive/refs/tags/${ve
podman rmi localhost/jitsi/base:${version} localhost/jitsi/base:latest podman rmi localhost/jitsi/base:${version} localhost/jitsi/base:latest
fi fi
} ; rm -rf ${buildfolder} } ; rm -rf ${buildfolder}
for image in ${upstream_images}; do
oci_push_to_registry ${image}:${version}
done &&