From 413b4f9181320971e1678af4ef5cb2be3f3698ac Mon Sep 17 00:00:00 2001 From: KemoNine Date: Tue, 15 Jan 2019 12:04:03 -0500 Subject: [PATCH] Update service documentation to use the main registry builds/mirrors instead of building the docker images by hand --- services/nextcloud.md | 39 ++++++++++++++------------------------- services/pi_hole.md | 26 +++++++++----------------- services/searx.md | 18 +++++------------- 3 files changed, 28 insertions(+), 55 deletions(-) diff --git a/services/nextcloud.md b/services/nextcloud.md index d780928..a5b6b32 100644 --- a/services/nextcloud.md +++ b/services/nextcloud.md @@ -25,29 +25,6 @@ chown -R www-data: /var/nextcloud cat > /scratch/docker/nextcloud.sh < /scratch/docker/pi-hole.sh < /scratch/docker/searx/searx.sh << EOF #!/bin/bash ARCH=\`arch\` -UPSTREAM="" - -# Cleanup arch/container image here if [ \$ARCH == "aarch64" ] then - echo "64bit arm" - UPSTREAM="registry.lollipopcloud.solutions/arm64v8/searx:v0.14.0" + ARCH="arm64v8" else - echo "32bit arm" - UPSTREAM="registry.lollipopcloud.solutions/arm32v7/searx:v0.14.0" + ARCH="arm32v7" fi -echo "Updating" -docker pull \$UPSTREAM +docker pull registry.lollipopcloud.solutions/\$ARCH/searx:latest -# Cleanup existing container docker stop searx docker rm searx -# Re-run/create container with latest image docker run \\ --name searx \\ --restart unless-stopped \\ @@ -48,8 +40,8 @@ docker run \\ --ip 172.30.8.8 \\ -e TZ=UTC \\ -e DEBUG=1 \\ - -e BASE_URL=searx.domain.tld \\ - \$UPSTREAM + -e BASE_URL=searx.kemonine.online \\ + registry.lollipopcloud.solutions/\$ARCH/searx:latest EOF chmod a+x /scratch/docker/searx/searx.sh