Developed in part from Helping Ninja's YouTube series on Running Foundry Virtual Tabletop on your Raspberry Pi.
- Install Raspberry Pi OS on fresh microSD card
- Install SSH key for easy, secure logins
- Upgrade OS
- Install git & python
- Install docker & docker-compose
- Setup GitHub SSH key
- Setup GPG signing key (optional)
- Install Foundry VTT
- Tighten security
Note that the detailed instructions for steps 3 through 4 ask you to connect via SSH each time, but there is no reason you can't do them all in a single SSH session.
Install 64-bit Raspberry Pi OS lite using Raspberry Pi imager.
Option | Setting |
---|---|
WiFi | Do not enable |
hostname | foundryvtt |
Enable SSH | Allow public-key authentication only |
Username | foundryvtt |
Password | Get from password manager |
Wireless LAN | Configure |
Locale settings | As appropriate for your region |
Log into Raspberry Pi using password to check that it works, then log out immediately.
ssh [email protected]
exit
Use ssh-copy-id to install your SSH key. You will be prompted for the password.
ssh-copy-id [email protected]
Now try logging in using SSH authentication.
sudo apt update
sudo apt full-upgrade --assume-yes
sudo apt autoclean
sudo apt autoremove --assume-yes
Once this is complete you should reboot your Raspberry Pi. This will close your SSH session.
sudo reboot
sudo apt install git python3 python3-pip --assume-yes
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker ${USER}
sudo pip3 install docker-compose
sudo systemctl enable docker
Once this is complete you should reboot your Raspberry Pi. This will close your SSH session.
sudo reboot
docker run hello-world
Create an SSH key and add it to your GitHub account as an authentication key.
ssh-keygen
cat ~/.ssh/id_rsa.pub
Set your name and email address for git.
git config --global user.name "Alice Beaufort"
git config --global user.email "[email protected]"
To set up a GPG signing key for git commits, follow the instructions on GitHub under Managing commit signature verification.
Log into your Raspberry Pi and create a data folder for Foundry VTT and another for docker. You can name these whatever you like.
mkdir ~/foundry-data
mkdir ~/docker
version: '3.9'
services:
foundry:
image: felddy/foundryvtt:release
hostname: foundryvtt
network_mode: host
init: true
restart: "unless-stopped"
volumes:
- type: bind
source: ~/foundry-data
target: /data
environment:
- FOUNDRY_USERNAME=
- FOUNDRY_PASSWORD=
- FOUNDRY_ADMIN_KEY=
http://foundryvtt.local:30000
- Pathfinder 2E
- Pathfinder Beginner Box
Module | Description | Recommended by |
---|---|---|
DF Architect | Map building tools | Copper Dragon Games |
Multiface Tiles | Copper Dragon Games | |
Multilevel Tokens | Teleport tokens | Recall Knowledge |
PF2e Rule Element Generator | Automations(?) | Recall Knowledge |
pf2E Keybind Menagerie | PF2E keyboard shortcuts | Recall Knowledge |
Popout Resizer | Resize popouts | Copper Dragon Games, The Rules Lawyer |
Simple Dice Roller | Recall Knowledge | |
Smart Target | Targeting helpers | Recall Knowledge |
Stairways (Teleporter) | Teleport tokens | Copper Dragon Games |
Token Mold | Token enhancements | Recall Knowledge |
In order to tighten up security on your server, you should disable SSH password authentication and use SSH key authentication only.
- Core
- Left-Click to Release Objects: Enabled
- Pathfinder 2nd Edition
- Automation
- Rules-based vision: Enabled
- Immunities, weaknesses, & resistances: Enabled
- Effects auto-expire: Enabled
- Remove expired effects: Enabled
- Flanking detection: Enabled
- NPCs are lootable: Enabled?
- Metagame information
- Shared party vision: Enabled?
- Campaign Feats: Enabled
- Automation
- Follew Me!
- Snap to grid: Enabled
- Stop following in combat: Enabled
- Token Action HUD
- Direction: Down
- PF2e Target Damage
- Hide non-Player Token Targets: Checked?
- Hide Collapsible Buttons: Checked
- Hide Original PF2e Damage Buttons: Checked
- Walled Templates:
- Enable autotargetting: Display toggle button; default on
- DF Architect
- Toggle Wall Chaining Lock: Alt+W
- Follow Me!
- FollowMe: Shift+F