config.yaml 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513
  1. resources:
  2. # ------------------------
  3. # Servers
  4. # ------------------------
  5. - kind: Server
  6. name: proxmox-node01
  7. cpus:
  8. - model: AMD EPYC 7302P
  9. cores: 16
  10. threads: 32
  11. ram:
  12. size: 128gb
  13. mts: 3200
  14. drives:
  15. - type: ssd
  16. size: 1tb
  17. - type: ssd
  18. size: 1tb
  19. nics:
  20. - type: rj45
  21. speed: 1gb
  22. ports: 2
  23. - type: sfp+
  24. speed: 10gb
  25. ports: 2
  26. ipmi: true
  27. - kind: Server
  28. name: proxmox-node02
  29. cpus:
  30. - model: Intel Xeon Silver 4210
  31. cores: 10
  32. threads: 20
  33. ram:
  34. size: 96gb
  35. mts: 2666
  36. drives:
  37. - type: ssd
  38. size: 1tb
  39. - type: hdd
  40. size: 4tb
  41. nics:
  42. - type: rj45
  43. speed: 1gb
  44. ports: 2
  45. - type: sfp+
  46. speed: 10gb
  47. ports: 1
  48. ipmi: true
  49. - kind: Server
  50. name: truenas-storage
  51. cpus:
  52. - model: Intel Xeon E-2236
  53. cores: 6
  54. threads: 12
  55. ram:
  56. size: 64gb
  57. mts: 2666
  58. drives:
  59. - type: hdd
  60. size: 8tb
  61. - type: hdd
  62. size: 8tb
  63. - type: hdd
  64. size: 8tb
  65. - type: hdd
  66. size: 8tb
  67. nics:
  68. - type: rj45
  69. speed: 1gb
  70. ports: 1
  71. - type: sfp+
  72. speed: 10gb
  73. ports: 1
  74. ipmi: true
  75. # ------------------------
  76. # Network
  77. # ------------------------
  78. - kind: Firewall
  79. name: pfsense-fw
  80. model: Netgate-6100
  81. ports:
  82. - type: rj45
  83. speed: 1gb
  84. count: 4
  85. - type: sfp+
  86. speed: 10gb
  87. count: 2
  88. managed: true
  89. poe: false
  90. - kind: Router
  91. name: core-router
  92. model: Ubiquiti-ER-4
  93. ports:
  94. - type: rj45
  95. speed: 1gb
  96. count: 4
  97. - type: sfp
  98. speed: 10gb
  99. count: 1
  100. managed: true
  101. poe: false
  102. - kind: Switch
  103. name: core-switch
  104. model: UniFi-USW-Enterprise-24
  105. ports:
  106. - type: rj45
  107. speed: 1gb
  108. count: 12
  109. - type: rj45
  110. speed: 2.5gb
  111. count: 8
  112. - type: sfp+
  113. speed: 10gb
  114. count: 4
  115. managed: true
  116. poe: true
  117. - kind: Switch
  118. name: access-switch
  119. model: UniFi-USW-16-PoE
  120. ports:
  121. - type: rj45
  122. speed: 1gb
  123. count: 16
  124. - type: sfp
  125. speed: 1gb
  126. count: 2
  127. managed: true
  128. poe: true
  129. - kind: AccessPoint
  130. name: lounge-ap
  131. model: UniFi-U6-Pro
  132. speed: 2.5gb
  133. # ------------------------
  134. # Power
  135. # ------------------------
  136. - kind: Ups
  137. name: rack-ups
  138. model: APC-SmartUPS-2200
  139. va: 2200
  140. # ------------------------
  141. # Desktops
  142. # ------------------------
  143. - kind: Desktop
  144. name: workstation-linux
  145. cpus:
  146. - model: AMD Ryzen 9 5900X
  147. cores: 12
  148. threads: 24
  149. ram:
  150. size: 64gb
  151. mts: 3600
  152. drives:
  153. - type: ssd
  154. size: 1tb
  155. - type: ssd
  156. size: 2tb
  157. nics:
  158. - type: rj45
  159. speed: 1gb
  160. ports: 1
  161. gpus:
  162. - model: NVIDIA RTX 3080
  163. vram: 10gb
  164. - kind: Desktop
  165. name: gaming-pc
  166. cpus:
  167. - model: Intel Core i7-12700K
  168. cores: 12
  169. threads: 20
  170. ram:
  171. size: 32gb
  172. mts: 3200
  173. drives:
  174. - type: ssd
  175. size: 1tb
  176. nics:
  177. - type: rj45
  178. speed: 1gb
  179. ports: 1
  180. gpus:
  181. - model: NVIDIA RTX 3070
  182. vram: 8gb
  183. # ------------------------
  184. # Laptop
  185. # ------------------------
  186. - kind: Laptop
  187. name: dev-laptop
  188. cpus:
  189. - model: Intel Core i7-1260P
  190. cores: 12
  191. threads: 16
  192. ram:
  193. size: 32gb
  194. mts: 5200
  195. drives:
  196. - type: ssd
  197. size: 1tb
  198. # --------------------------------------------------
  199. # Smart Home
  200. # --------------------------------------------------
  201. - kind: Service
  202. name: home-assistant
  203. network:
  204. ip: 192.168.0.10
  205. port: 8123
  206. protocol: TCP
  207. url: http://homeassistant.lan:8123
  208. runsOn: vm-home-assistant
  209. # --------------------------------------------------
  210. # Media & Photos
  211. # --------------------------------------------------
  212. - kind: Service
  213. name: plex
  214. network:
  215. ip: 192.168.0.20
  216. port: 32400
  217. protocol: TCP
  218. url: http://plex.lan:32400
  219. runsOn: vm-media-server
  220. - kind: Service
  221. name: jellyfin
  222. network:
  223. ip: 192.168.0.21
  224. port: 8096
  225. protocol: TCP
  226. url: http://jellyfin.lan:8096
  227. runsOn: vm-media-server
  228. - kind: Service
  229. name: immich
  230. network:
  231. ip: 192.168.0.22
  232. port: 8080
  233. protocol: TCP
  234. url: http://immich.lan:8080
  235. runsOn: vm-media-server
  236. # --------------------------------------------------
  237. # Storage & Backup
  238. # --------------------------------------------------
  239. - kind: Service
  240. name: truenas-webui
  241. network:
  242. ip: 192.168.0.30
  243. port: 443
  244. protocol: TCP
  245. url: https://truenas.lan
  246. runsOn: truenas-core-os
  247. - kind: Service
  248. name: minio
  249. network:
  250. ip: 192.168.0.31
  251. port: 9000
  252. protocol: TCP
  253. url: http://minio.lan:9000
  254. runsOn: vm-media-server
  255. # --------------------------------------------------
  256. # Monitoring & Ops
  257. # --------------------------------------------------
  258. - kind: Service
  259. name: prometheus
  260. network:
  261. ip: 192.168.0.40
  262. port: 9090
  263. protocol: TCP
  264. url: http://prometheus.lan:9090
  265. runsOn: vm-monitoring
  266. - kind: Service
  267. name: grafana
  268. network:
  269. ip: 192.168.0.41
  270. port: 3000
  271. protocol: TCP
  272. url: http://grafana.lan:3000
  273. runsOn: vm-monitoring
  274. - kind: Service
  275. name: alertmanager
  276. network:
  277. ip: 192.168.0.42
  278. port: 9093
  279. protocol: TCP
  280. url: http://alertmanager.lan:9093
  281. runsOn: vm-monitoring
  282. # --------------------------------------------------
  283. # Dev & Internal Tools
  284. # --------------------------------------------------
  285. - kind: Service
  286. name: gitea
  287. network:
  288. ip: 192.168.0.50
  289. port: 3001
  290. protocol: TCP
  291. url: http://git.lan:3001
  292. runsOn: vm-monitoring
  293. - kind: Service
  294. name: docker-registry
  295. network:
  296. ip: 192.168.0.51
  297. port: 5000
  298. protocol: TCP
  299. url: http://registry.lan:5000
  300. runsOn: vm-monitoring
  301. - kind: Service
  302. name: portainer
  303. network:
  304. ip: 192.168.0.52
  305. port: 9000
  306. protocol: TCP
  307. url: http://portainer.lan:9000
  308. runsOn: vm-monitoring
  309. # --------------------------------------------------
  310. # Network Services
  311. # --------------------------------------------------
  312. - kind: Service
  313. name: pihole
  314. network:
  315. ip: 192.168.0.53
  316. port: 80
  317. protocol: TCP
  318. url: http://pihole.lan
  319. runsOn: vm-monitoring
  320. - kind: Service
  321. name: firewall-webui
  322. network:
  323. ip: 192.168.0.1
  324. port: 443
  325. protocol: TCP
  326. url: https://firewall.lan
  327. runsOn: firewall-os
  328. - kind: Service
  329. name: router-webui
  330. network:
  331. ip: 192.168.0.254
  332. port: 443
  333. protocol: TCP
  334. url: https://router.lan
  335. runsOn: router-os
  336. # --------------------------------------------------
  337. # Hypervisors (Bare Metal)
  338. # --------------------------------------------------
  339. - kind: System
  340. type: Hypervisor
  341. name: proxmox-cluster-node01
  342. os: proxmox
  343. cores: 16
  344. ram: 128gb
  345. drives:
  346. - size: 1tb
  347. - size: 1tb
  348. runsOn: proxmox-node01
  349. - kind: System
  350. type: Hypervisor
  351. name: proxmox-cluster-node02
  352. os: proxmox
  353. cores: 10
  354. ram: 96gb
  355. drives:
  356. - size: 1tb
  357. - size: 4tb
  358. runsOn: proxmox-node02
  359. # --------------------------------------------------
  360. # Storage OS (Bare Metal)
  361. # --------------------------------------------------
  362. - kind: System
  363. type: Baremetal
  364. name: truenas-core-os
  365. os: truenas
  366. cores: 6
  367. ram: 64gb
  368. drives:
  369. - size: 8tb
  370. - size: 8tb
  371. - size: 8tb
  372. - size: 8tb
  373. runsOn: truenas-storage
  374. # --------------------------------------------------
  375. # IPMI / BMC Management
  376. # --------------------------------------------------
  377. - kind: System
  378. type: Baremetal
  379. name: ipmi-proxmox-node01
  380. os: idrac
  381. cores: 1
  382. ram: 1gb
  383. runsOn: proxmox-node01
  384. - kind: System
  385. type: Baremetal
  386. name: ipmi-proxmox-node02
  387. os: ipmi
  388. cores: 1
  389. ram: 1gb
  390. runsOn: proxmox-node02
  391. - kind: System
  392. type: Baremetal
  393. name: ipmi-truenas-storage
  394. os: ipmi
  395. cores: 1
  396. ram: 1gb
  397. runsOn: truenas-storage
  398. # --------------------------------------------------
  399. # Core Network Systems
  400. # --------------------------------------------------
  401. - kind: System
  402. type: Baremetal
  403. name: firewall-os
  404. os: pfsense
  405. cores: 4
  406. ram: 8gb
  407. drives:
  408. - size: 32gb
  409. runsOn: pfsense-fw
  410. - kind: System
  411. type: Baremetal
  412. name: router-os
  413. os: edgeos
  414. cores: 4
  415. ram: 4gb
  416. drives:
  417. - size: 4gb
  418. runsOn: core-router
  419. - kind: System
  420. type: Baremetal
  421. name: unifi-core-switch-os
  422. os: unifi-os
  423. cores: 2
  424. ram: 2gb
  425. drives:
  426. - size: 8gb
  427. runsOn: core-switch
  428. - kind: System
  429. type: Baremetal
  430. name: unifi-access-switch-os
  431. os: unifi-os
  432. cores: 2
  433. ram: 2gb
  434. drives:
  435. - size: 8gb
  436. runsOn: access-switch
  437. - kind: System
  438. type: Baremetal
  439. name: unifi-lounge-ap-os
  440. os: unifi-firmware
  441. cores: 2
  442. ram: 1gb
  443. drives:
  444. - size: 4gb
  445. runsOn: lounge-ap
  446. # --------------------------------------------------
  447. # Virtual Machines
  448. # --------------------------------------------------
  449. - kind: System
  450. type: VM
  451. name: vm-home-assistant
  452. os: hassos
  453. cores: 2
  454. ram: 4gb
  455. drives:
  456. - size: 64gb
  457. runsOn: proxmox-node01
  458. - kind: System
  459. type: VM
  460. name: vm-media-server
  461. os: ubuntu-22.04
  462. cores: 4
  463. ram: 8gb
  464. drives:
  465. - size: 500gb
  466. runsOn: proxmox-node02
  467. - kind: System
  468. type: VM
  469. name: vm-monitoring
  470. os: debian-12
  471. cores: 2
  472. ram: 4gb
  473. drives:
  474. - size: 64gb
  475. runsOn: proxmox-node01