Skip to content

LegitCamper/homelab

Repository files navigation

Overview

Servers

  • Gateway: A Pangolin server running on a vps like Digital Ocean
  • Homeserver: A server behind a nat

Playbooks

  • homeserver.yml configures homeserver with the compose files
  • dns.yml configures vps with blocky dns and letsencrypt

Homeserver ucore distro setup

Install Ucore on homeserver

  • create a simple butane configuration
  • transpile it to an ignition file
  • validate the ignition file podman run --pull=always --rm -i quay.io/coreos/ignition-validate:release - < ucore.ign

This example uses podman, but docker can be used too

  • start an http server to host the ingnition file and prepare for install sudo podman run --rm --privileged -p 8080:5000 --security-opt label=disable -v $PWD/ucore.ign:/html/ucore.ign ghcr.io/patrickdappollonio/docker-http-server:v2
  • boot up the fedora core installer and install with your ignition file: sudo coreos-installer install /dev/sda --ignition-url https://192.168.0.100:8080/ucore.ign and then reboot

Final Setup

  • ensure tailscaled is running: sudo systemctl start tailescaled (ansible will ensure its enabled) and then sign in tailscale up
  • ansible-playbook -i server.tailscale.hostname, homeserver.yml (you will need --ask-become-pass if there is a sudo password)
  • The server should be ready to go 🎉

About

My homelab repository for Docker compose and ansible running UCore

Topics

Resources

Stars

3 stars

Watchers

0 watching

Forks

Contributors

Languages