https://github.com/jackblk/homelab
my homelab config
https://github.com/jackblk/homelab
Last synced: 8 months ago
JSON representation
my homelab config
- Host: GitHub
- URL: https://github.com/jackblk/homelab
- Owner: jackblk
- License: mit
- Created: 2022-01-20T05:25:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-31T04:44:46.000Z (about 1 year ago)
- Last Synced: 2025-05-31T16:14:16.428Z (about 1 year ago)
- Language: Makefile
- Size: 55.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Homelab
My private homelab :).
## Media server
```bash
# Create data folder
sudo mkdir /data2/server
sudo chown -R $USER:$USER /data2/server
# Clone repo
cd /data2/server
git clone https://github.com/jackblk/homelab.git
cd /data2/server/homelab
# Create .env file, edit it
cp .env.example .env
# Run
make
# Stop
make stop-media
```
Then:
* Configure Radarr, Sonarr, and Bazarr, Jackett, qBitTorrent and Jellyfin to use the media server.
* Configure hardware acceleration for Jellyfin.
* Configure Nginx proxy manager, DDClient for domains, DNS stuff.
* Configure heimdall for dashboard.
## Hardware Acceleration
For VAAPI:
```bash
# for my intel igpu sandy bridge 2xxx
sudo apt install libva-dev i965-va-driver
```
Set supported codecs to decode with VAAPI by checking `vainfo`.
VA API device should be `/dev/dri/renderD128` or `/dev/dri/renderD129` based on your GPU.
For [newer Intel iGPU](https://jellyfin.org/docs/general/administration/hardware-acceleration.html#va-api-hardware-acceleration-on-debianubuntu):
```bash
sudo apt install software-properties-common -y
sudo apt-add-repository non-free -y
sudo apt-get update
sudo apt install vainfo intel-media-va-driver-non-free
```
## Adguard Home
```shell
# run
make dns-adguardhome
# stop
make dns-adguardhome-stop
```
# Misc
* [DDClient to update DDNS](https://blog.jswart.xyz/posts/cloudflare-dynamic-dns/)
* [Jellyfin Let's Encrypt and Docker](https://jellyfin.org/docs/general/networking/letsencrypt.html#lets-encrypt-and-docker)
* [linuxserver/swag](https://docs.linuxserver.io/images/docker-swag#parameters)
## Folder structure
On host:
```
media -> for sonarr, radarr
├── torrents -> for qbit
│ ├── movies
│ └── shows
└── media -> for jellyfin
├── movies
└── shows
```
On container:
```
data
├── torrents
│ ├── movies
│ ├── music
│ └── tv
└── media
├── movies
├── music
└── tv
```