mirror of
https://github.com/nextcloud/vm.git
synced 2025-07-21 23:47:16 +00:00
nextcloud-aio images have been moved to ghcr.io (#2737)
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@ -35,7 +35,7 @@ fi
|
||||
lowest_compatible_nc 26
|
||||
|
||||
# Check if Imaginary is already installed
|
||||
if ! does_this_docker_exist nextcloud/aio-imaginary
|
||||
if ! does_this_docker_exist nextcloud/aio-imaginary && ! does_this_docker_exist ghcr.io/nextcloud-releases/aio-imaginary
|
||||
then
|
||||
# Ask for installing
|
||||
install_popup "$SCRIPT_NAME"
|
||||
@ -47,6 +47,7 @@ else
|
||||
then
|
||||
# Remove docker container
|
||||
docker_prune_this 'nextcloud/aio-imaginary' 'imaginary'
|
||||
docker_prune_this 'ghcr.io/nextcloud-releases/aio-imaginary' 'imaginary'
|
||||
# reset the preview formats
|
||||
nextcloud_occ config:system:delete "preview_imaginary_url"
|
||||
nextcloud_occ config:system:delete "enabledPreviewProviders"
|
||||
@ -110,8 +111,8 @@ fi
|
||||
install_docker
|
||||
|
||||
# Pull and start
|
||||
docker pull nextcloud/aio-imaginary:latest
|
||||
docker run -t -d -p 127.0.0.1:9000:9000 --restart always --name imaginary nextcloud/aio-imaginary –cap-add=sys_nice -concurrency 50 -enable-url-source -return-size -log-level debug
|
||||
docker pull ghcr.io/nextcloud-releases/aio-imaginary:latest
|
||||
docker run -t -d -p 127.0.0.1:9000:9000 --restart always --name imaginary ghcr.io/nextcloud-releases/aio-imaginary –cap-add=sys_nice -concurrency 50 -enable-url-source -return-size -log-level debug
|
||||
|
||||
# Test if imaginary is working
|
||||
countdown "Testing if it works in 3 sedonds" "3"
|
||||
|
@ -84,6 +84,7 @@ else
|
||||
done
|
||||
apt-get autoremove -y
|
||||
docker_prune_this nextcloud/aio-talk-recording
|
||||
docker_prune_this ghcr.io/nextcloud-releases/aio-talk-recording
|
||||
# Show successful uninstall if applicable
|
||||
removal_popup "$SCRIPT_NAME"
|
||||
fi
|
||||
@ -530,7 +531,7 @@ ram_check 4 "Talk Recording"
|
||||
print_text_in_color "$ICyan" "Setting up Talk recording..."
|
||||
|
||||
# Pull and start
|
||||
docker pull nextcloud/aio-talk-recording:latest
|
||||
docker pull ghcr.io/nextcloud-releases/aio-talk-recording:latest
|
||||
docker run -t -d -p "$TURN_RECORDING_HOST":"$TURN_RECORDING_HOST_PORT":"$TURN_RECORDING_HOST_PORT" \
|
||||
--restart always \
|
||||
--name talk-recording \
|
||||
@ -541,12 +542,12 @@ docker run -t -d -p "$TURN_RECORDING_HOST":"$TURN_RECORDING_HOST_PORT":"$TURN_RE
|
||||
-e TZ="$(cat /etc/timezone)" \
|
||||
-e RECORDING_SECRET="${TURN_RECORDING_SECRET}" \
|
||||
-e INTERNAL_SECRET="${TURN_INTERNAL_SECRET}" \
|
||||
nextcloud/aio-talk-recording:latest
|
||||
ghcr.io/nextcloud-releases/aio-talk-recording:latest
|
||||
|
||||
# Talk recording
|
||||
if [ -d "$NCPATH/apps/spreed" ]
|
||||
then
|
||||
if does_this_docker_exist nextcloud/aio-talk-recording
|
||||
if does_this_docker_exist ghcr.io/nextcloud-releases/aio-talk-recording
|
||||
then
|
||||
install_if_not netcat-traditional
|
||||
while ! nc -z "$TURN_RECORDING_HOST" "$TURN_RECORDING_HOST_PORT"
|
||||
|
@ -482,7 +482,7 @@ else
|
||||
fi
|
||||
|
||||
# Set correct amount of CPUs for Imaginary
|
||||
if does_this_docker_exist nextcloud/aio-imaginary
|
||||
if does_this_docker_exist ghcr.io/nextcloud-releases/aio-imaginary
|
||||
then
|
||||
if which nproc >/dev/null 2>&1
|
||||
then
|
||||
|
Reference in New Issue
Block a user