.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
SELF_HOSTED
Enables self hosting features (should be set to true unless you know what you're doing)
SECRET_KEY_BASE
secret
Secret key used to encrypt credentials (https://api.rubyonrails.org/v7.1.3.2/classes/Rails/Application.html#method-i-secret_key_base) Has…
SYNTH_API_KEY
secret
Optional: Synth API Key for exchange rates + stock prices (you can also set this in your self-hosted settings page) Get it here:…
PORT
Custom port config For users who have other applications listening at 3000, this allows them to set a value puma will listen to.
SMTP_ADDRESS
SMTP Configuration This is only needed if you intend on sending emails from your Maybe instance (such as for password resets or email…
SMTP_PORT
SMTP_USERNAME
SMTP_PASSWORD
secret
SMTP_TLS_ENABLED
EMAIL_SENDER
Address that emails are sent from
DB_HOST
Database Configuration
DB_PORT
POSTGRES_PASSWORD
secret
POSTGRES_USER
APP_DOMAIN
App Domain This is the domain that your Maybe instance will be hosted at. It is used to generate links in emails and other places.