* v1 of backend implementation for self hosting * Add docs * Add upgrades controller * Add global helpers for self hosting mode * Add self host settings controller * Conditionally show self hosting settings * Environment and config updates * Complete upgrade prompting flow * Update config for forked repo * Move configuration of github provider within class * Add upgrades cron * Update deploy button * Update guides * Fix render deployer * Typo * Enable auto upgrades * Fix cron * Make upgrade modes more clear and consistent * Trigger new available version * Fix logic for displaying upgrade prompts * Finish implementation * Fix regression * Trigger new version * Add i18n translations * trigger new version * reduce caching time for testing * Decrease cache for testing * trigger upgrade * trigger upgrade * Only trigger deploy once * trigger upgrade * If target is commit, always upgrade if any upgrade is available * trigger upgrade * trigger upgrade * Test release * Change back to maybe repo for defaults * Fix lint errors * Clearer naming * Fix relative link * Add abs path * Relative link * Update docs
3.1 KiB
Self Hosting Maybe on Render
Welcome to the self hosting guide for Maybe on Render!
Render is our recommended option for hosting Maybe:
- Getting started is FREE
- Up and running in <5 minutes
- Your Maybe app is automatically deployed to a live URL
Estimated Costs
- FREE to get up and running
- $7 per month for a basic app (Render requires you to upgrade your database to keep using it)
- $14+ per month for optimal performance
IMPORTANT: if you plan to host Maybe on Render long-term, you MUST upgrade your database to a paid Render service.
Instructions
Step 1: Create Render Blueprint
- Click the button above.
- Sign in or create your account with Render (FREE)
- Give your blueprint a name (we suggest
Maybe
) - Select the
main
branch - You should see a section at the bottom with a "Key:Value" field for
SECRET_KEY_BASE
. Do NOT click "generate". - On your computer, open a terminal and make sure you have the openssl utility installed on your computer. You can run
openssl --version
to verify it is installed. - Generate your
SECRET_KEY_BASE
by running the following command in your terminal:openssl rand -hex 64
(docs). - Do NOT share this value with anyone.
- Go back to your browser and paste this value in the "Value" field for
SECRET_KEY_BASE
- Click "Apply". This will take a few minutes.
- Once complete, click on the
maybe
"Web Service". You should see a custom URL in the formathttps://maybe-abcd.onrender.com
. Click on it, and you'll see your running Maybe app!
Step 2: Add your deploy hook for auto-updates
To get new releases, you will need to add your deploy hook to the app.
- Click on the
maybe
"Web Service" - Click "Settings"
- Scroll down to the end of the "Build and Deploy" section until you find the "Deploy Hook"
- Copy this value
- Open your new Maybe app, click your profile, click "Self Host Settings"
- Paste your deploy hook in the settings and save
- You're all set!
Step 3 (IMPORTANT!!!): Upgrade your Render services
By default, we set you up with a FREE Render web service and a FREE postgres database. We do this for a few reasons:
- It allows you to take self-hosted Maybe for a FREE test-drive
- It prevents newcomers from incurring unexpected hosting charges
Upgrade your Database (REQUIRED)
All FREE Render databases will be deleted after a few months. This means that you will lose all of your Maybe data.
To avoid losing data, you MUST upgrade your Render database (a "starter" instance is $7/month)
You can upgrade your instance directly in the Render dashboard.
Upgrade your Web Service (RECOMMENDED)
All FREE Render web services use a small amount of memory and "sleep" after periods of inactivity.
For the fastest Maybe experience, you should upgrade your web service (a "starter" instance is $7/month)