diff --git a/README.md b/README.md index 97ba441..82b5b4d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,25 @@ +[![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/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) +
+ # iac + Currently migrating [Auto-Homelab](https://git.mafyuh.dev/mafyuh/Auto-Homelab), [Iac-Homelab](https://git.mafyuh.dev/mafyuh/IaC-Homelab), [ansible-playbooks](https://git.mafyuh.dev/mafyuh/ansible-playbooks) and [kub](https://git.mafyuh.dev/mafyuh/kub) repos into this one. +This is my homelab, defined in code. +
+ +
+ +| Hypervisor | OS | Tools | VPS (arm) | Firewall | +|---|---|---|---|---| +| [![Proxmox](https://img.shields.io/badge/-Proxmox-%23c9d1d9?logo=Proxmox)](https://www.proxmox.com) | [![Ubuntu](https://img.shields.io/badge/Ubuntu_22.04-%23c9d1d9?&logo=ubuntu&logoColor=red)](https://releases.ubuntu.com/jammy/) [![Ubuntu](https://img.shields.io/badge/Ubuntu_24-%23c9d1d9?&logo=ubuntu&logoColor=red)](https://releases.ubuntu.com/noble/) | [![Forgejo](https://img.shields.io/badge/-Forgejo-%23c9d1d9?logo=forgejo&logoColor=orange)](https://forgejo.org/) [![Docker](https://img.shields.io/badge/-Docker-%23c9d1d9?logo=docker)](https://www.docker.com/) [![Renovate](https://img.shields.io/badge/-Renovate-%23c9d1d9?logo=renovate&logoColor=blue)](https://github.com/renovatebot/renovate) [![OpenTofu](https://img.shields.io/badge/-OpenTofu-%23c9d1d9?logo=opentofu)](https://opentofu.org/) [![Packer](https://img.shields.io/badge/-Packer-%23c9d1d9?logo=packer)](https://www.packer.io/) [![Ansible](https://img.shields.io/badge/-Ansible-%23c9d1d9?logo=ansible&logoColor=red)](https://www.ansible.com/) | [![Oracle](https://img.shields.io/badge/-Oracle_Cloud-%23c9d1d9?logo=oracle&logoColor=red)](https://www.oracle.com/cloud/) | [![pfSense](https://img.shields.io/badge/-pfSense-%23c9d1d9?logo=pfsense&logoColor=blue)](https://www.pfsense.org/) | + +
+ ToDo - [ ] Update Readme - [ ] Update Issue Templates diff --git a/ansible/playbooks/main-reboot-required.yml b/ansible/playbooks/main-reboot-required.yml new file mode 100644 index 0000000..3f05d7e --- /dev/null +++ b/ansible/playbooks/main-reboot-required.yml @@ -0,0 +1,13 @@ +--- +- name: check if system reboot is required + hosts: "*" + become: yes + tasks: + - name: check if system reboot is required + become: true + stat: + path: /var/run/reboot-required + register: reboot_required + - debug: + msg: "Reboot is required" + when: reboot_required.stat.exists \ No newline at end of file diff --git a/docker/AI/docker-compose.yml b/docker/AI/docker-compose.yml index c2cdc88..39581bf 100644 --- a/docker/AI/docker-compose.yml +++ b/docker/AI/docker-compose.yml @@ -2,7 +2,7 @@ version: "3.8" services: ollama: - image: ollama/ollama:0.3.2 + image: ollama/ollama:0.3.3 container_name: ollama restart: unless-stopped volumes: @@ -18,7 +18,7 @@ services: capabilities: [gpu] open-webui: - image: ghcr.io/open-webui/open-webui:v0.3.10 + image: ghcr.io/open-webui/open-webui:v0.3.11 container_name: open-webui restart: unless-stopped ports: diff --git a/docker/arm/docker-compose.yml b/docker/arm/docker-compose.yml index 03a55d5..eb0e1a5 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.53.0 + image: ghcr.io/n8n-io/n8n:1.53.1 container_name: n8n ports: - 5678:5678 @@ -137,7 +137,7 @@ services: ipv4_address: 172.25.0.25 syncthing: - image: ghcr.io/linuxserver/syncthing@sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696 + image: ghcr.io/linuxserver/syncthing@sha256:bfcd4a3081bad466f914e40b4e10a6544944ae9c6f5bf4f54345c312d55a8d2a container_name: syncthing hostname: ARM #optional environment: diff --git a/docker/arrs/docker-compose.yml b/docker/arrs/docker-compose.yml index 227714a..e273ca6 100644 --- a/docker/arrs/docker-compose.yml +++ b/docker/arrs/docker-compose.yml @@ -57,7 +57,7 @@ services: - PGID=1000 sonarr: - image: ghcr.io/linuxserver/sonarr@sha256:fbee5770f688e4f89dd073534feda11251bfde0e0a4e6ac74dd8c33bb856b505 + image: ghcr.io/linuxserver/sonarr@sha256:f0c1fe322671a5c4a302e27ee7aac622fb3c7ba6da231f6c378fe07ab900d6eb container_name: sonarr ports: - "8989:8989" @@ -140,7 +140,7 @@ services: image: gcr.io/cadvisor/cadvisor:v0.50.0 syncthing: - image: ghcr.io/linuxserver/syncthing@sha256:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696 + image: ghcr.io/linuxserver/syncthing@sha256:bfcd4a3081bad466f914e40b4e10a6544944ae9c6f5bf4f54345c312d55a8d2a container_name: syncthing hostname: ARRS environment: diff --git a/docker/cf/docker-compose.yml b/docker/cf/docker-compose.yml index 6a7db96..678fb7e 100644 --- a/docker/cf/docker-compose.yml +++ b/docker/cf/docker-compose.yml @@ -4,3 +4,15 @@ services: restart: unless-stopped image: docker.mafyuh.xyz/cloudflare/cloudflared@sha256:f6e9fff347602b8e70f1765127abc96f3b8d1af4cc46185913a043edab75ae5b command: tunnel --no-autoupdate run --token $CF_TOKEN + + wallos: + container_name: wallos + image: bellamy/wallos:2.20.1 + ports: + - "8282:80/tcp" + environment: + TZ: 'America/New_York' + volumes: + - '/home/mafyuh/wallos/db:/var/www/html/db' + - '/home/mafyuh/wallos/logos:/var/www/html/images/uploads/logos' + restart: unless-stopped \ No newline at end of file diff --git a/docker/jellyfin/docker-compose.yml b/docker/jellyfin/docker-compose.yml index 737a23c..89f10d8 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:84e9cd99d247d6ef31fc8c1a6967f068a8352a530095bb402bf3bb298aa10696 + image: ghcr.io/linuxserver/syncthing@sha256:bfcd4a3081bad466f914e40b4e10a6544944ae9c6f5bf4f54345c312d55a8d2a container_name: syncthing hostname: JF environment: diff --git a/docker/netboot/docker-compose.yml b/docker/netboot/docker-compose.yml index 683fcbe..93df942 100644 --- a/docker/netboot/docker-compose.yml +++ b/docker/netboot/docker-compose.yml @@ -1,7 +1,7 @@ --- services: netbootxyz: - image: ghcr.io/linuxserver/netbootxyz@sha256:8adbd502fa2f31f03f39b35c511e3484b1a7100ee7bc4ab878518066881079e9 + image: ghcr.io/linuxserver/netbootxyz@sha256:5693c2fe816c92f45f364faa3d05b7bdddef86b58a7cf19fe642eeccf26444b8 container_name: netboot environment: - PUID=1000