Skip to content

TheOptimist/homelab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Homelab

Some (very specific) definitions of containers to run on the QNAP TVS-EC880 (bignas), along with software configuration to make it easier (and nicer) when working remotely on the system.

Prerequisites

Mostly notes to myself on what to create if I ever have to go through this process again.

  • Storage pool in RAID 0 across two NVME drives
    • Single thick volume 'system'
    • Single shared folder 'containers'
      • media - {sabnzbd,radarr,sonarr,prowlarr,recyclarr,bazarr,jellyfin,jellyseerr}
      • overwatch - {homepage,changedetection}
  • Storage pool in RAID 5 across all hard drives
    • Thin volume 'media'
      • Shared folder 'media'
        • downloads
          • incomplete
          • complete
            • {movies,shows,songs,books,comics}
        • content
          • {movies,shows,songs,books,comics}
    • Thin volume 'cloud'
  • MyQNAP repository installed [https://www.myqnap.org/repo.xml]
  • homelab group (id 1000)
  • homelab user (id 1000) with SSH access
    • starship installed
    • eza installed

Deploying

Use rsync to synchronize the contents of the home folder to the NAS. Placing everything in the actual home directory on the target machine prevents the use of --delete, which might become a problem (or annoying enough for me to fix).

rsync \
  # Copy files over using remote shell 'ssh'
  --rsh ssh \
  # All files in all directories
  --recursive \
  # Directory to copy (putting a `/*` meant rsync ignored `.files`)
  ./homelab
  # Copy over the actual homelab folder on the NAS (hence no --delete)
  [email protected]:/share/homes

At some point it might be interesting to automate the deployment workflow more, but I suspect a "container update" watcher workflow would be better.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages