remove downloaders
All checks were successful
OpenTofu Automation / deploy (push) Successful in 2m0s
All checks were successful
OpenTofu Automation / deploy (push) Successful in 2m0s
This commit is contained in:
parent
52c8a1b1c9
commit
5ff473f7d7
6 changed files with 1 additions and 139 deletions
|
@ -42,9 +42,6 @@ jobs:
|
|||
arm)
|
||||
target_host="arm.lan"
|
||||
;;
|
||||
downloaders)
|
||||
target_host="downloaders.lan"
|
||||
;;
|
||||
AI)
|
||||
target_host="ai.lan"
|
||||
;;
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
LAN_NETWORK=10.10.10.0/24
|
|
@ -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)
|
|
@ -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
|
|
@ -36,7 +36,7 @@ resource "proxmox_virtual_environment_vm" "Arrbuntu" {
|
|||
# VM Disk Settings
|
||||
disk {
|
||||
datastore_id = "Fast2Tb"
|
||||
size = 120
|
||||
size = 350
|
||||
interface = "scsi0"
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
]
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Reference in a new issue