Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.07 KB

README.md

File metadata and controls

38 lines (32 loc) · 1.07 KB

This is my Raspberry Pi stuff. Reboots may be required before some steps (running taliscale or docker install script).

After intalling tailscale & docker, change passwords in .env and run sudo docker compose up -d in this directory to start all services.

First

sudo apt update
sudo apt upgrade -y

Install Tailscale

sudo apt install apt-transport-https -y
curl -fsSL https://pkgs.tailscale.com/stable/raspbian/bullseye.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg > /dev/null
curl -fsSL https://pkgs.tailscale.com/stable/raspbian/bullseye.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list
sudo apt update
sudo apt install tailscale -y
sudo tailscale up

Install Docker

curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

UFW

sudo apt install ufw
sudo ufw limit 22/tcp
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw enable

Remember to copy additional ssh public keys to ~/.ssh/authorized_keys