epicweb-dev / epic-stack

This is a Full Stack app starter with the foundational things setup and configured for you to hit the ground running on your next EPIC idea.
https://www.epicweb.dev/epic-stack
MIT License
4.47k stars 368 forks source link

build(fly): use `fly.toml` `.swap_size_mb` to create swap #706

Closed kinggoesgaming closed 5 months ago

kinggoesgaming commented 5 months ago

The previous manual swap creation no longer works.

Fly changed how their VMs work with swaps. This breaks Epic Stack as it currently is. This particularly targets the swapon command. However they provide a .swap_size_mb option as the replacement in fly.toml now, which I have changed to in this PR.

Test Plan

Simply deploying to the dev branch (when the staging deploy occurs should not fail and website should show the latest deployment when visited.

Checklist

Screenshots

No visual change

closes: #701