BadIdeaException / pi-setup-guide

Step by step guide on installing my Raspberry Pi home server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pi-setup-guide

This is a step-by-step guide on (re-)installing my Raspberry Pi home server. While the idea of automated deployment still has a certain allure to it, I've come to realize that the server simply doesn't have to be rebuilt from scratch often enough to be worth the additional effort. So instead, here is a complete tutorial on how to do it by hand.

Architecture

All the server's services live in docker containers. This makes it easy to swap them out, isolates them well from each other and the host OS, and provides some extra security. Volumes are kept in a centralized location, making it easy to back up server data. Containers share a common network and are only reachable from the outside through a Traefik reverse proxy, which also handles TLS/SSL and certificate handling. Here is a more detailed description.

Steps to install

  1. Start by putting a clean install of Raspbian on the SD card. Make sure to enable SSH.

  2. SSH in and install docker and docker-compose.

  3. Install a dockerized nextcloud.

  4. Install a dockerized traefik, which will also handle Let's Encrypt certificate handling.

About

Step by step guide on installing my Raspberry Pi home server