Configs etc for my home network/server
- Hardware: Dell Wyse 5070 from eBay)
- OS: Ubuntu Server
sudo wget -O /etc/netplan/01-netcfg.yaml https://raw.githubusercontent.com/JMontagu/home-server/refs/heads/main/01-netcfg.yaml && sudo chmod 600 /etc/netplan/01-netcfg.yamlsudo netplan try— check networking still works, if not config will revert after 120 secondsping -c 4 192.168.86.1ping -c 4 8.8.8.8
sudo netplan apply
Defines network topology to be manually applied
- Install docker using official instructions
- Pull docker-compose:
sudo curl -o docker-compose.yaml https://raw.githubusercontent.com/JMontagu/home-server/refs/heads/main/docker-compose.yaml - Run containers:
sudo docker compose up -d
Automatically syncs this servers IP address with Cloudflare so we can host public services off jademontagu.com:
- Log into Cloudflare Dashboard
- Go to "My Profile" → "API Tokens"
- Create a token with "Zone:Zone:Read" and "Zone:DNS:Edit" permissions for your domain
sudo nano /etc/environment- Add this line
CLOUDFLARE_API_TOKEN=your_actual_token_here - Setup ddclient conf:
sudo curl -o ddclient.conf https://raw.githubusercontent.com/JMontagu/home-server/refs/heads/main/ddclient.conf