An open API service indexing awesome lists of open source software.

https://github.com/jackblk/homelab

my homelab config
https://github.com/jackblk/homelab

Last synced: 8 months ago
JSON representation

my homelab config

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
```