Multi-Node Setup
How to add a second machine (like the Pentium) and route traffic to it through Traefik on the primary node.Overview
Steps
1. Set up the second machine
- Install Debian, Docker, Docker Compose
- Clone the repo:
git clone git@github.com:amarcin/homelab.git ~/apps - Assign a static IP (e.g.,
192.168.1.16)
2. Configure SSH access
From the primary machine, set up passwordless SSH:~/.ssh/config:
3. Add Traefik routing
On the primary machine, add services totraefik/dynamic/pentium-services.yaml: