Files
Homelab/README.md
Matthew Pomes 64ea7cb6e6
Some checks are pending
Deploy homelab / Deploy (push) Waiting to run
Add systemd and host act_runner to readme
2025-09-24 23:18:20 -05:00

46 lines
924 B
Markdown

# My personal homelab setup
Currently running on a Debian host
## Raw data
Raw data is stored in `/data`, a ZFS data set
```bash
# Install ZFS
apt update
apt install linux-headers-amd64
apt install zfsutils-linux zfs-dkms
zpool create hdd raidz2 <disks...>
mkdir -p /data
zfs create -o mountpoint=/data hdd/data
zfs set compression=on hdd/data
```
## act_runner
```bash
pushd /tmp
wget https://gitea.com/gitea/act_runner/releases/download/v0.2.13/act_runner-0.2.13-linux-amd64.xz
xz -d act_runner-0.2.13-linux-amd64.xz
mv act_runner-0.2.13-linux-amd64 /usr/bin/act_runner
chmod +x /usr/bin/act_runner
mkdir /home/matthew/act_runner
```
## Systemd
```bash
# Add services
ln -s $PWD/*.service /etc/systemd/system/
systemctl enable homelab
systemctl start homelab
cd ~/act_runner
/usr/bin/act_runner register --config /home/matthew/homelab/host-runner.yaml
systemctl enable act_runner
systemctl start act_runner
```