Skip to content

MarcOrfilaCarreras/homelab

Repository files navigation

Homelab 🚀

License GitHub last commit

📦 Overview

Welcome to my personal homelab setup! This repository contains all the Pyinfra code I use to configure and manage my Raspberry Pi 4, Raspberry Pi Zero W, and RackNerd server.

🚀 Getting Started

Requirements

  • Python 3.8+
  • SSH access to the hosts

Installation

  1. Clone the Repository:

    git clone https://github.com/MarcOrfilaCarreras/homelab.git
    cd homelab
  2. Install dependencies:

    pip install -r requirements.txt
  3. Copy and configure environment and inventory files:

    • Copy the .env file:

      cp env.example .env
    • Copy the inventory/production.py file:

      cp inventory/production.py.example inventory/production.py

Usage

Run the deployment.

pyinfra inventory/production.py deploys/setup.py --yes --config config.py

📚 Resources

🔑 License

Distributed under the MIT License. See LICENSE.md file for more information.

About

Automated homelab setup and management using Pyinfra.

Topics

Resources

License

Stars

Watchers

Forks