From 5ff473f7d78a7b2fb8aba3600d6c4e888d4628c1 Mon Sep 17 00:00:00 2001 From: Matt Reeves Date: Wed, 30 Oct 2024 23:40:42 -0400 Subject: [PATCH] remove downloaders --- .forgejo/workflows/CD.yml | 3 -- docker/downloaders/.env.example | 1 - docker/downloaders/README.md | 10 ---- docker/downloaders/docker-compose.yml | 57 ----------------------- terraform/arrbuntu.tf | 2 +- terraform/downloaders.tf | 67 --------------------------- 6 files changed, 1 insertion(+), 139 deletions(-) delete mode 100644 docker/downloaders/.env.example delete mode 100644 docker/downloaders/README.md delete mode 100644 docker/downloaders/docker-compose.yml delete mode 100644 terraform/downloaders.tf diff --git a/.forgejo/workflows/CD.yml b/.forgejo/workflows/CD.yml index 5348555..8b10c17 100644 --- a/.forgejo/workflows/CD.yml +++ b/.forgejo/workflows/CD.yml @@ -42,9 +42,6 @@ jobs: arm) target_host="arm.lan" ;; - downloaders) - target_host="downloaders.lan" - ;; AI) target_host="ai.lan" ;; diff --git a/docker/downloaders/.env.example b/docker/downloaders/.env.example deleted file mode 100644 index a8cdcc5..0000000 --- a/docker/downloaders/.env.example +++ /dev/null @@ -1 +0,0 @@ -LAN_NETWORK=10.10.10.0/24 \ No newline at end of file diff --git a/docker/downloaders/README.md b/docker/downloaders/README.md deleted file mode 100644 index dd736b2..0000000 --- a/docker/downloaders/README.md +++ /dev/null @@ -1,10 +0,0 @@ -## VM -Self hosted on Proxmox Node 1. Downloads media as well as Flaresolverr. -## Specs -- 3 core host -- 8GB RAM -- 256GB Storage -## OS -[![Ubuntu](https://img.shields.io/badge/Ubuntu_22.04-%23c9d1d9?&logo=ubuntu&logoColor=red)](https://releases.ubuntu.com/jammy/) -### Hypervisor -[![Proxmox](https://img.shields.io/badge/-Proxmox-%23c9d1d9?logo=Proxmox)](https://www.proxmox.com) \ No newline at end of file diff --git a/docker/downloaders/docker-compose.yml b/docker/downloaders/docker-compose.yml deleted file mode 100644 index 49ed9a7..0000000 --- a/docker/downloaders/docker-compose.yml +++ /dev/null @@ -1,57 +0,0 @@ -version: '3.9' -services: - sabnzbd: - image: ghcr.io/linuxserver/sabnzbd@sha256:5ae714b1a941a38471c2cc381ec407f93b3d7823c5a77a9a651502036b70ad69 - container_name: sabnzbd - environment: - - PUID=1000 - - PGID=1000 - - TZ=Etc/UTC - volumes: - - /etc/localtime:/etc/localtime:ro - - /docker/appdata/sabnzbd:/config - - /data/usenet:/data/usenet:rw - ports: - - 8080:8080 - restart: unless-stopped - - arch-qbittorrentvpn: - image: binhex/arch-qbittorrentvpn:4.6.5-1-03 - container_name: qbittorrentvpn - volumes: - - '/docker/appdata/qbitty:/config' - - '/data/torrents/:/data/torrents' - - '/etc/localtime:/etc/localtime:ro' - ports: - - '49550:49550' - - '49551:8118' - environment: - - VPN_ENABLED=yes - - VPN_PROV=protonvpn - - VPN_CLIENT=wireguard - - VPN_USER=mafyuh+pmp - - VPN_PASS= - - STRICT_PORT_FORWARD=yes - - LAN_NETWORK=$LAN_NETWORK - - ENABLE_PRIVOXY=yes - - PUID=1000 - - PGID=1000 - - WEBUI_PORT=49550 - - UMASK=1000 - - DEBUG=false - cap_add: - - NET_ADMIN - sysctls: - - net.ipv4.conf.all.src_valid_mark=1 - privileged: true - network_mode: bridge - restart: unless-stopped - - flaresolverr: - image: ghcr.io/flaresolverr/flaresolverr:v3.3.21 - container_name: flaresolverr - ports: - - '8191:8191' - environment: - - LOG_LEVEL=info - restart: unless-stopped \ No newline at end of file diff --git a/terraform/arrbuntu.tf b/terraform/arrbuntu.tf index e1020ea..420f402 100644 --- a/terraform/arrbuntu.tf +++ b/terraform/arrbuntu.tf @@ -36,7 +36,7 @@ resource "proxmox_virtual_environment_vm" "Arrbuntu" { # VM Disk Settings disk { datastore_id = "Fast2Tb" - size = 120 + size = 350 interface = "scsi0" } diff --git a/terraform/downloaders.tf b/terraform/downloaders.tf deleted file mode 100644 index 6fbfe42..0000000 --- a/terraform/downloaders.tf +++ /dev/null @@ -1,67 +0,0 @@ -resource "proxmox_virtual_environment_vm" "Downloaders" { - - # VM General Settings - node_name = "prox" - vm_id = 201 - name = "Downloaders" - description = "Sab, Qbitty" - tags = ["tofu", "ubuntu-22", "auto-homelab-repo", "infrastructure"] - - agent { - enabled = true # read 'Qemu guest agent' section, change to true only when ready - } - - clone { - vm_id = 8000 - } - - # VM CPU Settings - cpu { - cores = 3 - type = "host" - architecture = "x86_64" - } - - # VM Memory Settings - memory { - dedicated = 8192 - } - - # VM Network Settings - network_device { - bridge = "vmbr0" - vlan_id = 1 - } - - # VM Disk Settings - disk { - datastore_id = "Fast2Tb" - size = 260 - interface = "scsi0" - } - - vga { - type = "serial0" - } - - initialization { - ip_config { - ipv4 { - address = var.downloaders_ip_address - gateway = var.vlan_gateway - } - } - - user_account {} - } - - lifecycle { - ignore_changes = [ - initialization[0].user_account[0].keys, - initialization[0].user_account[0].password, - initialization[0].user_account[0].username, - initialization[0].user_data_file_id - ] - } - -}