Skip to content

Commit b95716d

Browse files
committedJan 10, 2025
turn off windows, update Plex
1 parent f8c6fd2 commit b95716d

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed
 

‎.forgejo/workflows/CD.yml

+2
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111
e4c5d8be-b91f-41ab-8071-b23e00203340 > kasm_host
112112
566329f5-5af3-4bcd-b187-b23e00216134 > netboot_host
113113
fb62a8d1-6dd5-4fab-aff4-b23e0021e215 > npm_host
114+
fe0a2fa5-8e2b-4b4f-ac68-b26100315b20 > plex_host
114115
90a16954-45df-49ad-9f45-b23e002273c5 > runner_host
115116
a5b6fa4b-4643-4f85-988b-b23e00245e2f > ubu_host
116117
26b06759-9791-42d7-a076-b23e0063c4dd > ssh_private_key
@@ -128,6 +129,7 @@ jobs:
128129
kasm.lan ansible_host=${{ steps.bitwarden-secrets.outputs.kasm_host }} ansible_user=mafyuh
129130
netboot.lan ansible_host=${{ steps.bitwarden-secrets.outputs.netboot_host }} ansible_user=mafyuh
130131
npm.lan ansible_host=${{ steps.bitwarden-secrets.outputs.npm_host }} ansible_user=mafyuh
132+
plex.lan ansible_host=${{ steps.bitwarden-secrets.outputs.plex_host }} ansible_user=mafyuh ansible_port=2009
131133
runner.lan ansible_host=${{ steps.bitwarden-secrets.outputs.runner_host }} ansible_user=mafyuh
132134
ubu.lan ansible_host=${{ steps.bitwarden-secrets.outputs.ubu_host }} ansible_user=mafyuh
133135
EOF

‎docker/plex/docker-compose.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,21 @@ services:
88
- PGID=1000
99
- TZ=Etc/UTC
1010
- VERSION=docker
11+
- NVIDIA_VISIBLE_DEVICES=all
1112
volumes:
1213
- /docker/appdata/plex/library:/config
1314
- nas:/data/media
1415
restart: unless-stopped
16+
deploy:
17+
resources:
18+
reservations:
19+
devices:
20+
- capabilities: [gpu]
1521

1622
volumes:
1723
nas:
1824
driver: local
1925
driver_opts:
2026
type: nfs
21-
o: addr=nas.lan,vers=4,rw
27+
o: addr=nas.lan,vers=4,ro
2228
device: ":/mnt/thePool/thePoolShare/Media"

‎terraform/proxmox/Plex.tf

+6-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ resource "proxmox_virtual_environment_vm" "Plex" {
1616

1717
network_device {
1818
bridge = "vmbr0"
19-
vlan_id = 1
19+
vlan_id = 23
2020
}
2121

2222
disk {
@@ -29,6 +29,11 @@ resource "proxmox_virtual_environment_vm" "Plex" {
2929
vm_id = "9996"
3030
}
3131

32+
vga {
33+
memory = 16
34+
type = "serial0"
35+
}
36+
3237
initialization {
3338
ip_config {
3439
ipv4 {

‎terraform/proxmox/windows.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ resource "proxmox_virtual_environment_vm" "Windows11" {
33
node_name = "pve2"
44
vm_id = 250
55
tags = ["tofu"]
6-
started = true
6+
started = false
77
bios = "ovmf"
8-
machine = "q35"
8+
machine = "pc-q35-9.0"
99

1010
agent {
1111
enabled = true

0 commit comments

Comments
 (0)
Please sign in to comment.