This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
kutt/.envrc.sample

76 lines
1.9 KiB
Plaintext

export APP=kutt
export DOMAIN=kutt.example.com
## Domain aliases
#export EXTRA_DOMAINS=', `www.kutt.example.com`'
export LETS_ENCRYPT_ENV=production
# Kutt settings
export SITE_NAME=Kutt
# Generated link length
export LINK_LENGTH=6
# Postgres database credential details
export DB_PASSWORD=metro8focal5yolk
# Disable registration
export DISALLOW_REGISTRATION=true
# Disable anonymous link creation
export DISALLOW_ANONYMOUS_LINKS=false
# The daily limit for each user
export USER_LIMIT_PER_DAY=50
# Create a cooldown for non-logged in users in minutes
# Set 0 to disable
export NON_USER_COOLDOWN=0
# Max number of visits for each link to have detailed stats
export DEFAULT_MAX_STATS_PER_LINK=5000
# Use HTTPS for links with custom domain
export CUSTOM_DOMAIN_USE_HTTPS=false
# A passphrase to encrypt JWT. Use a long and secure key.
export JWT_SECRET=securekey
# Admin emails so they can access admin actions on settings page
# Comma seperated
export ADMIN_EMAILS=
# Invisible reCaptcha secret key
# Create one in https://www.google.com/recaptcha/intro/
export RECAPTCHA_SITE_KEY=
export RECAPTCHA_SECRET_KEY=
# Google Cloud API to prevent from users from submitting malware URLs.
# Get it from https://developers.google.com/safe-browsing/v4/get-started
export GOOGLE_SAFE_BROWSING_KEY=
# Google Analytics tracking ID for universal analytics.
# Example: UA-XXXX-XX
export GOOGLE_ANALYTICS=
export GOOGLE_ANALYTICS_UNIVERSAL=
# Google Analytics tracking ID for universal analytics
# This one is used for links
export GOOGLE_ANALYTICS_UNIVERSAL=
# Your email host details to use to send verification emails.
# More info on http://nodemailer.com/
# Mail from example "Kutt <support@kutt.it>". Leave empty to use MAIL_USER
export MAIL_HOST=
export MAIL_PORT=
export MAIL_SECURE=true
export MAIL_USER=
export MAIL_FROM=
export MAIL_PASSWORD=
# The email address that will receive submitted reports.
export REPORT_EMAIL=
# Support email to show on the app
export CONTACT_EMAIL=