newsbox/env.sample
Adriano Caloiaro 8ae801ae5f
Initial commit
2023-02-15 08:57:48 -08:00

43 lines
1.5 KiB
Text

# The instance's name
SITE_NAME=<SITE_NAME>
# The domain name where this site is reachable
SITE_DOMAIN=<SITE_DOMAIN>
# The scheme to use when building URLs in development. This should be `http` unless your dev environments have TLS
# certificates.
SITE_PROTOCOL=<SITE_PROTOCOL>
# Database URL: scheme://username:password@hostname:port/database
DATABASE_URL=<DATABASE_URL>
# Enable Plausible (plausible.io) privacy-respecting analytics
ENABLE_ANALYTICS=<ENABLE_ANALYTICS>
# Enable Plausible (plausible.io) privacy-respecting analytics self-hosting
# The plausible analytics script must be accessible at https://SITE_DOMAIN/js/script.js for this to work
ENABLE_ANALYTICS_SELF_HOSTING=<ENABLE_ANALYTICS_SELF_HOSTING>
# Stripe key, if you want to charge for your service
# Currently, only Stripe and strip-hosted payment pages are supported.
# Consider support for open-source Lago (http://getlago.com/) in addition to Stripe
STRIPE_KEY=<STRIPE_KEY>
STRIPE_PRICE_ID=<STRIPE_PRICE_ID>
# Github Oauth credentials configuration
# Leave blank to disable Github authentication
GH_OAUTH_CLIENT_ID=<GH_OAUTH_CLIENT_ID>
GH_OAUTH_CLIENT_SECRET=<GH_OAUTH_CLIENT_SECRET>
# The API key of the Mailgun account that handles mail for SITE_DOMAIN
#
# Mailgun delivers messages to newsbox via webhook.
# Receiving mail via Mailgun will be factored out in favor of a locally run SMTP server in the near future
MAILGUN_API_KEY=<MAILGUN_API_KEY>
# SMTP configuration for outgoing email
SMTP_HOST=<SMTP_HOST>
SMTP_PORT=<SMTP_PORT>
SMTP_USER=<SMTP_USER>
SMTP_PASSWORD=<SMTP_PASSWORD>