Jitsi : gitea 2
This commit is contained in:
parent
c9883a66ea
commit
e240d4dbca
|
@ -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
|
||||||
|
|
|
@ -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 && \
|
||||||
|
|
|
@ -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 &&
|
||||||
|
|
Loading…
Reference in a new issue