Fly.io and Render
Both platforms build the repository’s Dockerfile and provide HTTPS. The one thing to get right is persistent storage at /data.
Fly.io
Section titled “Fly.io”You need flyctl and a Fly.io account.
1. Create the app
Section titled “1. Create the app”git clone https://github.com/joshuaKnauber/rplycd rplyfly launch --no-deployfly launch detects the Dockerfile and writes a fly.toml. Pick a name and region when it asks.
2. Add a volume and the URL
Section titled “2. Add a volume and the URL”fly volumes create rply_data --size 1fly secrets set RPLY_URL=https://<app>.fly.dev3. Mount the volume
Section titled “3. Mount the volume”Add this to fly.toml:
[mounts] source = "rply_data" destination = "/data"4. Deploy
Section titled “4. Deploy”fly deployOpen https://<app>.fly.dev and create the first account. Keep the app at one machine; a volume belongs to a single machine, and rply runs as a single instance.
Render
Section titled “Render”Render’s persistent disks need a paid instance type.
- Create a New Web Service from the
joshuaKnauber/rplyrepository (or your fork) and choose the Docker runtime. - Add a Persistent Disk with the mount path
/data. - Under Environment, set
RPLY_URLto the service’s URL, e.g.https://rply.onrender.com. - Set the health check path to
/health.
When the deploy finishes, open the URL and create the first account.
Next steps
Section titled “Next steps”- Configuration for registration, email and storage.
- Upgrades and backups.