- Gateway: A server with a public ip running on a vps like Digital Ocean
- Homeserver: A server behind a nat
- The gateway server forwards all packets from 80 & 443 to to homeserver
- gateway.yamlconfigures the gateway to forward traffic and protect it with crowdsec
- homeserver.ymlconfigures homeserver with the compose files
- create a simple butane configuration
- transpile it to an ingition 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 ingition file: sudo coreos-installer install /dev/sda --ignition-url https://192.168.0.100:8080/ucore.ignand then reboot
- ensure tailscaled is running: sudo systemctl start tailescaled(ansible will ensure its enabled) and then sign intailscale up
- ansible-playbook -i server.tailscale.hostname, homeserver.yml(you will need- --ask-become-passif there is a sudo password)
- The server should be ready to go 🎉