From 2fff2490a3016716a8cb84bba6f00bd0be41344b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 30 Jul 2024 00:01:18 +0000 Subject: [PATCH 01/18] :arrow_up: Update docker.mafyuh.xyz/ollama/ollama Docker tag to v0.3.1 --- docker/AI/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/AI/docker-compose.yml b/docker/AI/docker-compose.yml index c925ce4..3c8a6fc 100644 --- a/docker/AI/docker-compose.yml +++ b/docker/AI/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.8" services: ollama: - image: docker.mafyuh.xyz/ollama/ollama:0.2.6 + image: docker.mafyuh.xyz/ollama/ollama:0.3.1 container_name: ollama restart: unless-stopped volumes: From 96920d0219d5270446fd93377914e9e58cb2146a Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 01:14:00 +0000 Subject: [PATCH 02/18] :arrow_up: Update ghcr.io/linuxserver/bazarr Docker digest to e70de8a --- docker/arrs/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/arrs/docker-compose.yml b/docker/arrs/docker-compose.yml index 5cf1523..566423d 100644 --- a/docker/arrs/docker-compose.yml +++ b/docker/arrs/docker-compose.yml @@ -1,7 +1,7 @@ --- services: bazarr: - image: ghcr.io/linuxserver/bazarr@sha256:25f0d19ba9226fdf15aec0fc7fa134ba89fc6f77f09d7bd45b33c5960c47821e + image: ghcr.io/linuxserver/bazarr@sha256:e70de8a714ac57395d45052392001ec433b8f48aa1c204f13dae312cbcbe43af container_name: bazarr ports: - "6767:6767" From 00a231f4c5b4f499a2145627e13cc80d88163266 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 01:14:01 +0000 Subject: [PATCH 03/18] :arrow_up: Update ghcr.io/linuxserver/jellyfin Docker digest to eadf16c --- docker/jellyfin/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/jellyfin/docker-compose.yml b/docker/jellyfin/docker-compose.yml index a5fa894..da052e4 100644 --- a/docker/jellyfin/docker-compose.yml +++ b/docker/jellyfin/docker-compose.yml @@ -1,7 +1,7 @@ --- services: jellyfin: - image: ghcr.io/linuxserver/jellyfin@sha256:843878f35dc700e502798b39edb24b84b7b7ff0788f1b7b9b1e71d4f8d34f951 + image: ghcr.io/linuxserver/jellyfin@sha256:eadf16cadd823a5cbe1b92750ee74111f9b2cac894834477ab4a43a5fc835ebe container_name: jellyfin devices: - /dev/dri/renderD129:/dev/dri/renderD129 From 96eb0fdf5cff3ddfc14782b0a1f6ef60cc8f2c50 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 01:14:05 +0000 Subject: [PATCH 04/18] :arrow_up: Update ghcr.io/linuxserver/syncthing Docker digest to 84e9cd9 --- docker/arm/docker-compose.yml | 2 +- docker/arrs/docker-compose.yml | 2 +- docker/jellyfin/docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/arm/docker-compose.yml b/docker/arm/docker-compose.yml index 2af0c40..591cbee 100644 --- a/docker/arm/docker-compose.yml +++ b/docker/arm/docker-compose.yml @@ -137,7 +137,7 @@ services: ipv4_address: 172.25.0.25 syncthing: - image: ghcr.io/linuxserver/syncthing@sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890 + image: ghcr.io/linuxserver/syncthing@sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696 container_name: syncthing hostname: ARM #optional environment: diff --git a/docker/arrs/docker-compose.yml b/docker/arrs/docker-compose.yml index 5cf1523..a2dc69d 100644 --- a/docker/arrs/docker-compose.yml +++ b/docker/arrs/docker-compose.yml @@ -140,7 +140,7 @@ services: image: gcr.io/cadvisor/cadvisor:v0.49.1 syncthing: - image: ghcr.io/linuxserver/syncthing@sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890 + image: ghcr.io/linuxserver/syncthing@sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696 container_name: syncthing hostname: ARRS environment: diff --git a/docker/jellyfin/docker-compose.yml b/docker/jellyfin/docker-compose.yml index a5fa894..9cbaceb 100644 --- a/docker/jellyfin/docker-compose.yml +++ b/docker/jellyfin/docker-compose.yml @@ -35,7 +35,7 @@ services: privileged: true syncthing: - image: ghcr.io/linuxserver/syncthing@sha256:6fb87abe19730aad01b6511d660a0664be424986ae662b85eb76f0ce585c4890 + image: ghcr.io/linuxserver/syncthing@sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696 container_name: syncthing hostname: JF environment: From 9d15a6cd2adbc9133a46b895fbcf094ca5517c16 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 01:14:16 +0000 Subject: [PATCH 05/18] :arrow_up: Update codeberg.org/forgejo/forgejo Docker tag to v8 --- docker/arm/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/arm/docker-compose.yml b/docker/arm/docker-compose.yml index 2af0c40..7b97ef3 100644 --- a/docker/arm/docker-compose.yml +++ b/docker/arm/docker-compose.yml @@ -1,7 +1,7 @@ --- services: server: - image: codeberg.org/forgejo/forgejo:7.0.5 + image: codeberg.org/forgejo/forgejo:8.0.0 container_name: forgejo environment: - USER_UID=1000 From a386b35517fb25dd2f0d1d6f19dd0b9707db6b66 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 30 Jul 2024 22:13:47 -0400 Subject: [PATCH 06/18] Update .forgejo/workflows/CD.yml --- .forgejo/workflows/CD.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/CD.yml b/.forgejo/workflows/CD.yml index e363232..7bf27e1 100644 --- a/.forgejo/workflows/CD.yml +++ b/.forgejo/workflows/CD.yml @@ -14,6 +14,10 @@ jobs: - name: Fetch all history for git diff run: git fetch --depth=2 + - name: Install jq + run: | + apt-get update && apt-get install -y jq + - name: Detect modified folders id: detect-changes run: | @@ -85,10 +89,13 @@ jobs: sleep 45 # Delay for 45 seconds before fetching logs - job_id=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" "https://awx.mafyuh.xyz/api/v2/job_templates/13/jobs/?order_by=-id" | grep -oP '"id":\s*\K[0-9]+') - logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" "https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json") - + job_id=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/job_templates/13/jobs/?order_by=-id | jq -r '.results[0].id') + logs=$(curl -s -H "Authorization: Bearer ${{ secrets.AWX_API_TOKEN }}" https://awx.mafyuh.xyz/api/v2/jobs/$job_id/stdout/?format=json) echo "AWX Job Logs for folder: $folder" + echo "Range:" + echo "Start: $(echo "$logs" | jq -r '.range.start')" + echo "End: $(echo "$logs" | jq -r '.range.end')" + echo "Absolute End: $(echo "$logs" | jq -r '.range.absolute_end')" echo "Content:" - echo "$logs" | grep -oP '"content":\s*"\K[^"]+' | sed 's/\\n/\n/g' + echo "$(echo "$logs" | jq -r '.content')" done From a0d9eecebacc783f8a16e20cabf20ad806d4cd81 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 30 Jul 2024 22:21:22 -0400 Subject: [PATCH 07/18] Update docker/AI/docker-compose.yml --- docker/AI/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/AI/docker-compose.yml b/docker/AI/docker-compose.yml index 3c8a6fc..ed0ede0 100644 --- a/docker/AI/docker-compose.yml +++ b/docker/AI/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.8" services: ollama: - image: docker.mafyuh.xyz/ollama/ollama:0.3.1 + image: ollama/ollama:0.3.1 container_name: ollama restart: unless-stopped volumes: @@ -29,7 +29,7 @@ services: - host.docker.internal:host-gateway mindsdb: - image: docker.mafyuh.xyz/mindsdb/mindsdb:v24.7.3.0 + image: mindsdb/mindsdb:v24.7.3.0 container_name: mindsdb ports: - 47334:47334 From b2bcd3f90d77e68e7eb987c925118a668da44cff Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 30 Jul 2024 22:31:10 -0400 Subject: [PATCH 08/18] Delete docker/pages/docker-compose.yml --- docker/pages/docker-compose.yml | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 docker/pages/docker-compose.yml diff --git a/docker/pages/docker-compose.yml b/docker/pages/docker-compose.yml deleted file mode 100644 index 7e7aec4..0000000 --- a/docker/pages/docker-compose.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -services: - pages: - image: codeberg.org/codeberg/pages-server:v5.1 - container_name: codeberg-pages - environment: - - GITEA_ROOT=https://git.mafyuh.dev - - GITEA_API_TOKEN=$GITEA_API_TOKEN - - ACME_ACCEPT_TERMS=true - - CLOUDFLARE_EMAIL=$CLOUDFLARE_EMAIL - - CLOUDFLARE_API_KEY=$CLOUDFLARE_API_KEY - - DNS_PROVIDER=cloudflare - - PAGES_DOMAIN=mafyuh.co - - CF_ZONE_API_TOKEN=$CF_ZONE_API_TOKEN - - CF_DNS_API_TOKEN=$CF_DNS_API_TOKEN - - ENABLE_HTTP_SERVER=false - ports: - - "80:80" - - "443:443" - volumes: - - /home/ubuntu/pages/datanew:/data From b9753a2c14472cc8192631cfb8111aff90138f2e Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 30 Jul 2024 22:43:23 -0400 Subject: [PATCH 09/18] Update docker/README.md --- docker/README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/docker/README.md b/docker/README.md index 4a6f829..da46b6d 100644 --- a/docker/README.md +++ b/docker/README.md @@ -5,8 +5,6 @@ ![Header Image](https://raw.githubusercontent.com/Mafyuh/homelab-svg-assets/main/assets/header_.png)
-# Auto-Homelab - Homelab docker-compose environment defined in code. Using Forgejo Actions and Renovate bot for CI, AWX Tower and Forgejo Actions for CD. This is how I keep my Homelab UTD.
@@ -305,8 +303,4 @@ graph TD P --> Q -``` - -## To-Do - -[View Project Board](https://git.mafyuh.dev/mafyuh/Auto-Homelab/projects/1) \ No newline at end of file +``` \ No newline at end of file From a50502381b7631af7f4d114da8d04b1e48617369 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 30 Jul 2024 22:44:04 -0400 Subject: [PATCH 10/18] Update docker/README.md --- docker/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/README.md b/docker/README.md index da46b6d..f219485 100644 --- a/docker/README.md +++ b/docker/README.md @@ -1,7 +1,7 @@ -[![Yamllint](https://git.mafyuh.dev/mafyuh/Auto-Homelab/badges/workflows/yamllint.yml/badge.svg)](https://git.mafyuh.dev/mafyuh/Auto-Homelab/actions) -[![Yamllint](https://git.mafyuh.dev/mafyuh/Auto-Homelab/badges/workflows/CD.yml/badge.svg)](https://git.mafyuh.dev/mafyuh/Auto-Homelab/actions) +[![Yamllint](https://git.mafyuh.dev/mafyuh/iac/badges/workflows/yamllint.yml/badge.svg)](https://git.mafyuh.dev/mafyuh/iac/actions) +[![Yamllint](https://git.mafyuh.dev/mafyuh/iac/badges/workflows/CD.yml/badge.svg)](https://git.mafyuh.dev/mafyuh/iac/actions) [![Renovate](https://git.mafyuh.dev/renovatebot/renovate/badges/workflows/renovate.yml/badge.svg)](https://git.mafyuh.dev/renovatebot/renovate/actions) -[![Pulls](https://git.mafyuh.dev/mafyuh/Auto-Homelab/badges/pulls.svg)](https://git.mafyuh.dev/mafyuh/Auto-Homelab/pulls) +[![Pulls](https://git.mafyuh.dev/mafyuh/iac/badges/pulls.svg)](https://git.mafyuh.dev/mafyuh/iac/pulls) ![Header Image](https://raw.githubusercontent.com/Mafyuh/homelab-svg-assets/main/assets/header_.png)
@@ -9,7 +9,7 @@ Homelab docker-compose environment defined in code. Using Forgejo Actions and Re

- Wiki | + Wiki | How to Setup | Blog | Inspiration | From 6fa71fa56cd776132a4ca02fd2701dd39eb293e2 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 30 Jul 2024 22:44:54 -0400 Subject: [PATCH 11/18] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 62f0588..61d6502 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Currently migrating [Auto-Homelab](https://git.mafyuh.dev/mafyuh/Auto-Homelab), ToDo - [ ] Update Readme -- [ ] Migrate all containers to use this repo (DB migrations) +- [x] Migrate all containers to use this repo (DB migrations) - [x] Get OpenTofu migrated to this repo - [ ] Get Kubernetes repo migrated over - [ ] Re-bootstrap Flux From fd9ad60b550f264f85f0993c3ca19419a04679a7 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 03:00:36 +0000 Subject: [PATCH 12/18] :arrow_up: Update ghcr.io/linuxserver/lidarr Docker digest to 5855582 --- docker/arrs/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/arrs/docker-compose.yml b/docker/arrs/docker-compose.yml index 7b578c6..64650ae 100644 --- a/docker/arrs/docker-compose.yml +++ b/docker/arrs/docker-compose.yml @@ -15,7 +15,7 @@ services: - PGID=1000 lidarr: - image: ghcr.io/linuxserver/lidarr@sha256:3c093803236a9f694f805392a5d6461b550f70b3f9cf4be0bc73b3428e3dbe90 + image: ghcr.io/linuxserver/lidarr@sha256:5855582eee07024c2584c01aaf955901303162bf00de183a1fbf2e9b81041695 container_name: lidarr ports: - "8686:8686" From 5aa4ea2c617eef69cbcc4465d539d68892264f67 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 03:00:38 +0000 Subject: [PATCH 13/18] :arrow_up: Update mindsdb/mindsdb Docker tag to v24.7.5.0 --- docker/AI/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/AI/docker-compose.yml b/docker/AI/docker-compose.yml index ed0ede0..e713044 100644 --- a/docker/AI/docker-compose.yml +++ b/docker/AI/docker-compose.yml @@ -29,7 +29,7 @@ services: - host.docker.internal:host-gateway mindsdb: - image: mindsdb/mindsdb:v24.7.3.0 + image: mindsdb/mindsdb:v24.7.5.0 container_name: mindsdb ports: - 47334:47334 From 3bd08963618a8ed50bcc01f3918290ad0f76ab46 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 04:01:01 +0000 Subject: [PATCH 14/18] :arrow_up: Update ghcr.io/linuxserver/prowlarr Docker digest to 7fe5756 --- docker/arrs/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/arrs/docker-compose.yml b/docker/arrs/docker-compose.yml index 7b578c6..f70825d 100644 --- a/docker/arrs/docker-compose.yml +++ b/docker/arrs/docker-compose.yml @@ -31,7 +31,7 @@ services: - PGID=1000 prowlarr: - image: ghcr.io/linuxserver/prowlarr@sha256:9a98da4fb506278ce92c2fdbb4e08a38418dd1456e3dd8b3a1f00a42a8ec4fb0 + image: ghcr.io/linuxserver/prowlarr@sha256:7fe57565907f4f776d43c15b2e020a0e4a62fe1e04e80e25b85a3ae4ca49e5d0 container_name: prowlarr ports: - "9696:9696" From 1dba59590b489dc71d022cd9c2b297c9fc8d2e32 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 07:00:35 +0000 Subject: [PATCH 15/18] :arrow_up: Update ghcr.io/linuxserver/adguardhome-sync Docker digest to c6bad81 --- docker/ag-main/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/ag-main/docker-compose.yml b/docker/ag-main/docker-compose.yml index 157303f..a212357 100644 --- a/docker/ag-main/docker-compose.yml +++ b/docker/ag-main/docker-compose.yml @@ -22,7 +22,7 @@ services: - 5443:5443/udp adguardhome-sync: - image: ghcr.io/linuxserver/adguardhome-sync@sha256:ee2ddd62c61d13e01da7f96135d1438376a22992c7d9951b2429bb2cfd64a05a + image: ghcr.io/linuxserver/adguardhome-sync@sha256:c6bad810acfc292b9220936751194f6ae9800b1228385ae8f2130fba280b79ee container_name: adguardhome-sync environment: - PUID=1000 From 54f3aa882b27ae027e42ab453e6dd1fbd8227594 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 13:00:39 +0000 Subject: [PATCH 16/18] :arrow_up: Update ghcr.io/n8n-io/n8n Docker tag to v1.52.2 --- docker/arm/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/arm/docker-compose.yml b/docker/arm/docker-compose.yml index cd6df36..ec3c28c 100644 --- a/docker/arm/docker-compose.yml +++ b/docker/arm/docker-compose.yml @@ -107,7 +107,7 @@ services: networks: - gitea_main n8n: - image: ghcr.io/n8n-io/n8n:1.51.0 + image: ghcr.io/n8n-io/n8n:1.52.2 container_name: n8n ports: - 5678:5678 From ed050b72382b191b167efa68962c4d19ec6746ca Mon Sep 17 00:00:00 2001 From: mafyuh Date: Wed, 31 Jul 2024 09:24:09 -0400 Subject: [PATCH 17/18] Update .forgejo/workflows/yamllint.yml --- .forgejo/workflows/yamllint.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.forgejo/workflows/yamllint.yml b/.forgejo/workflows/yamllint.yml index 10c770e..908ecba 100644 --- a/.forgejo/workflows/yamllint.yml +++ b/.forgejo/workflows/yamllint.yml @@ -16,6 +16,10 @@ jobs: uses: actions/setup-node@v4 with: node-version: 14 + + - name: Install yamllint + run: | + npm install -g yaml-lint - name: Show yamllint version run: | From 21aef10f0b849c8f7df51c3bae729a99128afa3d Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 31 Jul 2024 16:00:35 +0000 Subject: [PATCH 18/18] :arrow_up: Update ghcr.io/goauthentik/server Docker digest to a98f955 --- docker/authentik/docker-compose.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/authentik/docker-compose.yml b/docker/authentik/docker-compose.yml index ed049d2..e70cf5b 100644 --- a/docker/authentik/docker-compose.yml +++ b/docker/authentik/docker-compose.yml @@ -32,7 +32,7 @@ services: volumes: - redis:/data server: - image: ghcr.io/goauthentik/server@sha256:f79b6cf35b29a8591136afb633ddd46da303e9cd2ca82c7cdfbd020a780e15e8 + image: ghcr.io/goauthentik/server@sha256:a98f95518269d01bb812eb0e12c6647f3d08a36e37b9fdbdccf9345d4431b9f0 restart: unless-stopped command: server environment: @@ -53,7 +53,7 @@ services: - postgresql - redis worker: - image: ghcr.io/goauthentik/server@sha256:f79b6cf35b29a8591136afb633ddd46da303e9cd2ca82c7cdfbd020a780e15e8 + image: ghcr.io/goauthentik/server@sha256:a98f95518269d01bb812eb0e12c6647f3d08a36e37b9fdbdccf9345d4431b9f0 restart: unless-stopped command: worker environment: