Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/imaginary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ install_docker

# Pull and start
docker pull ghcr.io/nextcloud-releases/aio-imaginary:latest
docker run -t -d -p 127.0.0.1:9000:9000 --restart always --name imaginary --cap-add=sys_nice ghcr.io/nextcloud-releases/aio-imaginary -concurrency 50 -enable-url-source -return-size -log-level debug
docker run -t -d -p 127.0.0.1:9000:9000 --restart always --name imaginary --label com.centurylinklabs.watchtower.enable=true --cap-add=sys_nice ghcr.io/nextcloud-releases/aio-imaginary -concurrency 50 -enable-url-source -return-size -log-level debug

# Test if imaginary is working
countdown "Testing if it works in 3 seconds" "3"
Expand Down
1 change: 1 addition & 0 deletions apps/talk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ 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 \
--label com.centurylinklabs.watchtower.enable=true \
--shm-size=2GB \
-e NC_DOMAIN="${TURN_DOMAIN}" \
-e HPB_DOMAIN="${SUBDOMAIN}" \
Expand Down
17 changes: 17 additions & 0 deletions nextcloud_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,23 @@ $DOCKER_RUN_OUTPUT"
fi
fi
fi
# The AIO images tell Watchtower to skip them, so recreate these containers once with that label set to true
for aio in talk-recording imaginary
do
if [ "$(docker inspect -f '{{index .Config.Labels "com.centurylinklabs.watchtower.enable"}}' "$aio" 2>/dev/null)" = "false" ]
then
docker pull assaflavie/runlike &>/dev/null
if AIO_RUN=$(docker run --rm -v /var/run/docker.sock:/var/run/docker.sock assaflavie/runlike "$aio")
then
docker stop "$aio"
docker rm "$aio"
# The latest tag on Docker Hub isn't updated anymore, so move to ghcr.io
docker tag nextcloud/aio-"$aio" ghcr.io/nextcloud-releases/aio-"$aio" &>/dev/null
AIO_RUN="${AIO_RUN/ nextcloud\/aio-/ ghcr.io/nextcloud-releases/aio-}"
bash -c "${AIO_RUN/docker run/docker run --label com.centurylinklabs.watchtower.enable=true}"
fi
fi
done
# Talk Recording
docker_update_specific 'talk-recording' "Talk Recording"
# Plex
Expand Down
Loading