Deploy Foundry Virtual Tabletop
Self-hosted virtual tabletop for role-playing games (license required)
railway-foundryvtt
Just deployed
/data
Deploy and Host Foundry Virtual Tabletop on Railway
Foundry Virtual Tabletop is an application for playing tabletop role-playing games with your friends over the internet. One player hosts the server and the others join from a web browser, with character sheets, dice rolling, battle maps with dynamic lighting and fog of war, audio playlists, video chat and a large library of game systems and modules.
You need a Foundry license. Foundry is paid software. Buy a license at foundryvtt.com, then enter the username and password of that account when deploying. The server uses them to download Foundry and fetch your license. Without a valid license the deploy fails.
About Hosting Foundry Virtual Tabletop
This template runs the felddy/foundryvtt image, with the image version always matching the Foundry release it installs. On the first start it downloads and installs Foundry with your account, which takes a minute or two. Worlds, systems, modules and uploads live on a volume at /data, so they survive redeploys.
After deploying:
- Open the service's URL and accept the license agreement.
- Log in to the setup screen with the admin password in the
FOUNDRY_ADMIN_KEYvariable. It is generated for you at deploy time; to change it later, use Foundry's Configuration tab.
To change release, set FOUNDRY_VERSION (for example 14.370) and redeploy. A world cannot be opened by an older release than the one that last saved it, so back up /data before a major upgrade.
Common Use Cases
- Run a long campaign that your group can join from anywhere, without keeping a computer at home on
- Host one-shots and convention games with maps, tokens and handouts ready in advance
- Give players a persistent place to check their character sheets and journals between sessions
Dependencies for Foundry Virtual Tabletop Hosting
- A Foundry Virtual Tabletop license from foundryvtt.com
Deployment Dependencies
| Resource | URL |
|---|---|
| Foundry Virtual Tabletop | https://foundryvtt.com |
| Docker image and every option it supports | https://github.com/felddy/foundryvtt-docker |
| Template source | https://github.com/lucaspellegrinelli/railway-foundryvtt |
This template is not maintained by the Foundry team.
Why Deploy Foundry Virtual Tabletop on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Foundry Virtual Tabletop on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
railway-foundryvtt
lucaspellegrinelli/railway-foundryvttFOUNDRY_PASSWORD
Account password for foundryvtt.com. Required for downloading an application distribution.
FOUNDRY_USERNAME
Account username or email address for foundryvtt.com. Required for downloading an application distribution.
