Dhertz / mastodon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deploy Mastodon To Render

This is a template repository for running Mastodon on Render.

Prerequisites

Make sure you have the following:

  • A SMTP credential from third party SMTP service provider.
  • A Render account.

Deployment

  1. Fork this repo.

  2. Click to deploy

    Deploy to Render

  3. You will be prompted to input the VAPID private/public key and SMTP setting. You can put any placeholder string for the VAPID key for now.

  4. After all services are created, in the Render dashboard, find the mastodon-web service. Go to the Shell tab and run bundle exec rake mastodon:webpush:generate_vapid_key. Copy the private key and public key and update VAPID_PRIVATE_KEY and VAPID_PUBLIC_KEY in the Environment tab.

  5. That's it. Open the mastodon-web-<anything>.onrender.com URL of the mastodon-web service and your Mastodon website is up.

Notes

  • If you have your own domain, update MY_LOCAL_DOMAIN in the render.yaml. The value will be used in Mastodon's LOCAL_DOMAIN environment variable.

About


Languages

Language:Shell 72.3%Language:Dockerfile 27.7%