Skip to content
/ homelab Public

🥼 Self-hosted personal laboratory

Notifications You must be signed in to change notification settings

5ouma/homelab

Folders and files

NameName
Last commit message
Last commit date
Mar 15, 2025
Mar 26, 2025
Mar 18, 2025
Mar 23, 2025
Mar 21, 2025
Feb 23, 2025
Aug 8, 2024
Aug 8, 2024
Jan 12, 2025

Repository files navigation

HomeLab

🥼 Self-hosted personal laboratory


Test Deploy

Repobeats Analytics Image



🔐 Requirements



🔧 Setup

  1. 📋 Clone this Repository

    git clone https://github.com/5ouma/homelab.git
  2. 🏔️ Copy the .env.tmpl file to .env and Edit it

    Name Value
    AWS_ACCESS_KEY_ID Cloudflare R2 Access Key ID
    AWS_SECRET_ACCESS_KEY Cloudflare R2 Secret Access Key
    AWS_ENDPOINT Cloudflare R2 Endpoint Domain
  3. 📝 Follow the instructions below


💾 Restoring Data

  1. 🗝️ Decrypt the Data

    # Your database password
    gpg -o ./backup.tar.gz -d /path/to/backup.tar.gz.gpg
    tar -xzf ./backup.tar.gz
  2. 🐘 Copy the Database

    docker compose create
    docker compose start database
    docker compose cp ./backup/service.sql database:/tmp/backup.sql
    docker compose exec database bash -c 'psql -d "$POSTGRES_DB" -U "$POSTGRES_USER" -f /tmp/backup.sql'