54dbba3b35be9f37c11b10cae34741d018aa2e25
Foundry VTT Server Configuration
This repo contains an Ansible playbook for configuring a server to run the Foundry VTT software.
Currently, the playbook will:
- Install dependencies (nodejs, caddy, unzip)
- Create a foundry user/group
- Extract the Foundry app onto the remote server
- Set up a data directory for Foundry to use
- Configure caddy to reverse proxy the app
- Set up a systemd unit to run the app
Usage instructions
Assumptions
- You already have a VPS running and DNS records pointing your desired domain at it.
- You have a valid SSH key for your root user configured in your SSH agent.
- You have Ansible installed and are reasonably familiar with it.
Steps
Create a copy of the example variables file cp variables.yml.example variables.yml and change the domain name to the correct value.
Run the playbook against your server, e.g. ansible-playbook foundry_playbook.yml -i vtt.vidja.social, (Note the comma after the domain, this tells ansible it's an address and not an inventory file).
Description
Languages
Jinja
100%