Files
ObsidianHome/04 - Dev/Homelab/Homelab.md

27 lines
2.9 KiB
Markdown

---
tags: homelab, devops
---
## What about it
I'm building a #homelab. I want to train [[DevOps]] mainly. It's also a good excuse to have a [[NAS]] to store lots of data.
## Hypervisor
As a main [[Hypervisor OS]] I'm running [Proxmox](https://www.proxmox.com/en/). I heard it's a good open source software for this, while at [[Quantic Dream]] they're using [vSphere](https://www.vmware.com/products/vsphere.html). Another hypervisor I want to try is [[Harvester]] from [Rancher](https://www.rancher.com/products/harvester) but it requires quite a solid server. It could be a nice entry to the [[Kubernetes]] environment though since working with the base rancher engine didn't work that well.
## On the #nas side
So I built a [[NAS]] with [True Nas Scale](https://www.truenas.com/truenas-scale/) and it's great, it works well. I setup a [QBitTorrent](https://www.qbittorrent.org/) instance and an [JellyFin](https://jellyfin.org/) one for #on-premise netflix.
#todo/nas What could be done is dropbox-like storing to sync folders onto the nas and free up memory on the computer. This would be useful since my unreal projects hold hostage 200 gigs on my SSD.
#todo/nas Another idea would be to store time machine for #garance 's macbook.
## On the #devops side
So for devops I actually got a few things going.
I tried [Jetbrains Space](https://www.jetbrains.com/space/) #on-premise [solution](https://www.jetbrains.com/space/download/) but first of all it's not #open-source, which is an issue. Still tried it as an all-included out-of-the-box solution but it's a pain in the ass to configure I could not do it. Might still try it sometime though, especially when moving to [[Kubernetes]].
### Virtualisation
Nothing like [[Docker]] to start things smoothly. It will not scale indefinitely and I will gladly move to [[Kubernetes]] when I'll understand things a bit better but for now it works well enough for my needs.
### Git
So to keep things simple I started a [[Git server|git server]] with [Gitea](https://about.gitea.com/) which will host code I'm working on but has also CI/CD and task tracking capabilities, all #open-source .
### Reverse proxy and networking
For reverse proxy, security, networking, SSL and stuff, [Traefik](https://doc.traefik.io/traefik/) is the goat. It will scale to [[Kubernetes]] when needed while still being very worthwhile on docker. Lots of tutorials and easy SSL verification.
### Coding stuff
For [[Remote development]] I'm using [Coder](https://coder.com/). Still in #open-source territory, this should let us create remote workspaces automatically. Using [terraform](https://www.terraform.io/) description, one should be able to spin up remote workspaces in a single clic. I say "should" because I'm not sure how it works yet, I haven't managed to make it work correctly yet.
### Address
All of this is accessible via the internet:
- [coder](https://code.minimata.ch)
- [gitea](https://git.minimata.ch/)