This project is about getting a Foundry VTT instance running on fly.io servers. Using the docker deployment method it only takes a few minutes to get a instance up and running in the location of your choice.
Created the needed volume so all your game data survives server restarts.
$ fly volumes create foundry_vtt_data_v2 --region lhr --size 20
Now you are ready to deploy!
$ flyctl launch
Scale up the ram so the service runs smoothly.
$ flyctl scale memory 1024
One of the great parts about this setup is you can simply turn the server off when you don't need it.
$ flyctl scale count 0
To start back up:
$ flyctl scale count 1
This project is heavily inspired by the docker setups found on the foundryvtt wiki here. I simply updated the node image, changes a few things in the Dockerfile, and added a fly.io config.