-
-
Notifications
You must be signed in to change notification settings - Fork 12
Deploy your own instance
Deploying rsslay its a straightforward process, since its already published as a Docker image you can just pull and run with the required environment variables.
A one click deploy is ready for Railway, just click the button below:
I'm currently deploying an instance of rsslay into fly.io, so I made it simple to everyone to deploy to there.
The requisites are the following:
- An account in fly.io.
- An app instance previously created.
- A volume to handle the database files between deployments, restarts and others.
- (Optional) a custom domain of our own that we can set a CNAME record to and avoid using the default domain.
- (Optional) a Redis by Upstash instance for high-availability cache and improved performance.
- Download the flyctl CLI.
- Login into your account with
flyctl auth login
. - Modify the file
fly.toml
replacing the propertyapp
with your app name. - Create a new volume for your app with
flyctl volumes create rsslay_data
(the namersslay_data
can be changed). - Modify the file
fly.toml
and set the section[mounts]
accordingly (thesource
property with the volume name and keepdestination
as it is due to LiteFS usage). - Create a secret with
flyctl secrets set SECRET=YOUR_LONG_STRING_HERE
, in order to establish theSECRET
environment variable to create private keys with. - Proceed with the automatic deployment with
flyctl launch
- Optional: set up a CNAME record and set a certificate for the app.
- Optional: set up a workflow in GitHub to automatically deploy your app like in this repo.
You are done! And you can scale your app simply following this steps! If you scale, consider deploying a Redis by Upstash instance for high-availability cache and improved performance.
Checkout the Docker image in Docker Hub or GitHub Packages set the required environment variables, and run in your preferred platform (self-hosted, cloud-based, etc.)
Checkout the build from source instructions, set the required environment variables and run the binary!
Feel free to open an issue, provide feedback in discussions, or fork the repo and open a PR with your contribution!
All kinds of contributions are welcome!
You can also donate for development ⚡: https://getalby.com/p/piraces
You can reach me on nostr npub1ftpy6thgy2354xypal6jd0m37wtsgsvcxljvzje5vskc9cg3a5usexrrtq
Also on the bird site, and Mastodon.