kutt/.example.env

77 lines
1.8 KiB
Bash
Raw Normal View History

2019-05-29 19:09:44 +04:30
# App port to run on
PORT=3000
# The domain that this website is on
2019-06-01 18:01:32 +04:30
DEFAULT_DOMAIN="localhost:3000"
2019-05-29 19:09:44 +04:30
# Postgres database credential details
DB_HOST=localhost
DB_NAME=postgres
DB_USER=
2019-05-29 19:09:44 +04:30
DB_PASSWORD=
# ONLY NEEDED FOR MIGRATION !!1!
# Neo4j database credential details
NEO4J_DB_URI="bolt://localhost"
NEO4J_DB_USERNAME=neo4j
NEO4J_DB_PASSWORD=BjEphmupAf1D5pDD
2019-05-29 19:09:44 +04:30
# Redis host and port
REDIS_DISABLED=false
REDIS_HOST="127.0.0.1"
REDIS_PORT=6379
REDIS_PASSWORD=
# The daily limit for each user
USER_LIMIT_PER_DAY=50
2019-06-15 18:54:56 +04:30
# Create a cooldown for non-logged in users in minutes
2019-06-15 17:46:33 +04:30
# Set 0 to disable
NON_USER_COOLDOWN=0
2019-07-06 17:13:59 +04:30
# Max number of visits for each link to have detailed stats
2019-07-09 19:14:08 +04:30
DEFAULT_MAX_STATS_PER_LINK=5000
2019-07-06 17:13:59 +04:30
# Use HTTPS for links with custom domain
CUSTOM_DOMAIN_USE_HTTPS=false
2019-05-29 19:09:44 +04:30
# A passphrase to encrypt JWT. Use a long and secure key.
JWT_SECRET=securekey
# Admin emails so they can access admin actions on settings page
# Comma seperated
ADMIN_EMAILS=
# Invisible reCaptcha secret key
# Create one in https://www.google.com/recaptcha/intro/
2019-06-01 18:01:32 +04:30
RECAPTCHA_SITE_KEY=
2019-05-29 19:09:44 +04:30
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
GOOGLE_SAFE_BROWSING_KEY=
# Google Analytics tracking ID for universal analytics.
# Example: UA-XXXX-XX
GOOGLE_ANALYTICS=
GOOGLE_ANALYTICS_UNIVERSAL=
2019-05-29 19:09:44 +04:30
# Google Analytics tracking ID for universal analytics
# This one is used for links
# GOOGLE_ANALYRICS_UNIVERSAL=
2019-05-29 19:09:44 +04:30
# 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
MAIL_HOST=
2019-06-01 18:01:32 +04:30
MAIL_PORT=
2019-06-15 18:27:31 +04:30
MAIL_SECURE=true
2019-05-29 19:09:44 +04:30
MAIL_USER=
MAIL_FROM=
MAIL_PASSWORD=
# The email address that will receive submitted reports.
REPORT_MAIL=
# Support email to show on the app
CONTACT_EMAIL=