Switch from envrc → env format

Ref coop-cloud/abra#40
This commit is contained in:
3wc 2020-12-30 13:19:32 +02:00
parent 149478f0bf
commit ef5b1d7f9c
1 changed files with 29 additions and 29 deletions

View File

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