diff --git a/.envrc.sample b/.env.sample similarity index 59% rename from .envrc.sample rename to .env.sample index 94ff6c5..1ad4e58 100644 --- a/.envrc.sample +++ b/.env.sample @@ -1,75 +1,75 @@ -export APP=kutt +APP=kutt -export DOMAIN=kutt.example.com +DOMAIN=kutt.example.com ## Domain aliases -#export EXTRA_DOMAINS=', `www.kutt.example.com`' -export LETS_ENCRYPT_ENV=production +#EXTRA_DOMAINS=', `www.kutt.example.com`' +LETS_ENCRYPT_ENV=production # Kutt settings -export SITE_NAME=Kutt +SITE_NAME=Kutt # Generated link length -export LINK_LENGTH=6 +LINK_LENGTH=6 # Postgres database credential details -export DB_PASSWORD=metro8focal5yolk +DB_PASSWORD=metro8focal5yolk # Disable registration -export DISALLOW_REGISTRATION=true +DISALLOW_REGISTRATION=true # Disable anonymous link creation -export DISALLOW_ANONYMOUS_LINKS=false +DISALLOW_ANONYMOUS_LINKS=false # The daily limit for each user -export USER_LIMIT_PER_DAY=50 +USER_LIMIT_PER_DAY=50 # Create a cooldown for non-logged in users in minutes # Set 0 to disable -export NON_USER_COOLDOWN=0 +NON_USER_COOLDOWN=0 # Max number of visits for each link to have detailed stats -export DEFAULT_MAX_STATS_PER_LINK=5000 +DEFAULT_MAX_STATS_PER_LINK=5000 # Use HTTPS for links with custom domain -export CUSTOM_DOMAIN_USE_HTTPS=false +CUSTOM_DOMAIN_USE_HTTPS=false # A passphrase to encrypt JWT. Use a long and secure key. -export JWT_SECRET=securekey +JWT_SECRET=securekey # Admin emails so they can access admin actions on settings page # Comma seperated -export ADMIN_EMAILS= +ADMIN_EMAILS= # Invisible reCaptcha secret key # Create one in https://www.google.com/recaptcha/intro/ -export RECAPTCHA_SITE_KEY= -export RECAPTCHA_SECRET_KEY= +RECAPTCHA_SITE_KEY= +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_SAFE_BROWSING_KEY= # Google Analytics tracking ID for universal analytics. # Example: UA-XXXX-XX -export GOOGLE_ANALYTICS= -export GOOGLE_ANALYTICS_UNIVERSAL= +GOOGLE_ANALYTICS= +GOOGLE_ANALYTICS_UNIVERSAL= # Google Analytics tracking ID for universal analytics # This one is used for links -export GOOGLE_ANALYTICS_UNIVERSAL= +GOOGLE_ANALYTICS_UNIVERSAL= # Your email host details to use to send verification emails. # More info on http://nodemailer.com/ # Mail from example "Kutt ". 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= +MAIL_HOST= +MAIL_PORT= +MAIL_SECURE=true +MAIL_USER= +MAIL_FROM= +MAIL_PASSWORD= # The email address that will receive submitted reports. -export REPORT_EMAIL= +REPORT_EMAIL= # Support email to show on the app -export CONTACT_EMAIL= +CONTACT_EMAIL=