Skip to content

Commit 9e46867

Browse files
committed
nextcloud-aio images have been moved to ghcr.io
Signed-off-by: Simon L. <[email protected]>
1 parent 771a959 commit 9e46867

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

Diff for: apps/imaginary.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fi
3535
lowest_compatible_nc 26
3636

3737
# Check if Imaginary is already installed
38-
if ! does_this_docker_exist nextcloud/aio-imaginary
38+
if ! does_this_docker_exist nextcloud/aio-imaginary && ! does_this_docker_exist ghcr.io/nextcloud-releases/aio-imaginary
3939
then
4040
# Ask for installing
4141
install_popup "$SCRIPT_NAME"
@@ -47,6 +47,7 @@ else
4747
then
4848
# Remove docker container
4949
docker_prune_this 'nextcloud/aio-imaginary' 'imaginary'
50+
docker_prune_this 'ghcr.io/nextcloud-releases/aio-imaginary' 'imaginary'
5051
# reset the preview formats
5152
nextcloud_occ config:system:delete "preview_imaginary_url"
5253
nextcloud_occ config:system:delete "enabledPreviewProviders"
@@ -110,8 +111,8 @@ fi
110111
install_docker
111112

112113
# Pull and start
113-
docker pull nextcloud/aio-imaginary:latest
114-
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
114+
docker pull ghcr.io/nextcloud-releases/aio-imaginary:latest
115+
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
115116

116117
# Test if imaginary is working
117118
countdown "Testing if it works in 3 sedonds" "3"

Diff for: apps/talk.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ else
8484
done
8585
apt-get autoremove -y
8686
docker_prune_this nextcloud/aio-talk-recording
87+
docker_prune_this ghcr.io/nextcloud-releases/aio-talk-recording
8788
# Show successful uninstall if applicable
8889
removal_popup "$SCRIPT_NAME"
8990
fi
@@ -530,7 +531,7 @@ ram_check 4 "Talk Recording"
530531
print_text_in_color "$ICyan" "Setting up Talk recording..."
531532

532533
# Pull and start
533-
docker pull nextcloud/aio-talk-recording:latest
534+
docker pull ghcr.io/nextcloud-releases/aio-talk-recording:latest
534535
docker run -t -d -p "$TURN_RECORDING_HOST":"$TURN_RECORDING_HOST_PORT":"$TURN_RECORDING_HOST_PORT" \
535536
--restart always \
536537
--name talk-recording \
@@ -541,12 +542,12 @@ docker run -t -d -p "$TURN_RECORDING_HOST":"$TURN_RECORDING_HOST_PORT":"$TURN_RE
541542
-e TZ="$(cat /etc/timezone)" \
542543
-e RECORDING_SECRET="${TURN_RECORDING_SECRET}" \
543544
-e INTERNAL_SECRET="${TURN_INTERNAL_SECRET}" \
544-
nextcloud/aio-talk-recording:latest
545+
ghcr.io/nextcloud-releases/aio-talk-recording:latest
545546

546547
# Talk recording
547548
if [ -d "$NCPATH/apps/spreed" ]
548549
then
549-
if does_this_docker_exist nextcloud/aio-talk-recording
550+
if does_this_docker_exist ghcr.io/nextcloud-releases/aio-talk-recording
550551
then
551552
install_if_not netcat-traditional
552553
while ! nc -z "$TURN_RECORDING_HOST" "$TURN_RECORDING_HOST_PORT"

Diff for: nextcloud-startup-script.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ else
482482
fi
483483

484484
# Set correct amount of CPUs for Imaginary
485-
if does_this_docker_exist nextcloud/aio-imaginary
485+
if does_this_docker_exist ghcr.io/nextcloud-releases/aio-imaginary
486486
then
487487
if which nproc >/dev/null 2>&1
488488
then

0 commit comments

Comments
 (0)