| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- # App port to run on
- PORT=3000
- # The name of the site where Kutt is hosted
- SITE_NAME=Kutt
- # The domain that this website is on
- DEFAULT_DOMAIN=localhost:3000
- # Generated link length
- LINK_LENGTH=6
- # Database client. Available clients for the supported databases:
- # pg | pg-native | sqlite3 | better-sqlite3 | mysql | mysql2 | oracledb | tedious
- DB_CLIENT=sqlite3
- # SQL database credential details
- DB_HOST=localhost
- DB_PORT=5432
- DB_NAME=kutt
- DB_USER=postgres
- DB_PASSWORD=
- DB_SSL=false
- DB_POOL_MIN=0
- DB_POOL_MAX=10
- # SQLite database file name. Only if you use SQLite.
- DB_FILENAME=data
- # Redis host and port
- REDIS_ENABLED=false
- REDIS_HOST=127.0.0.1
- REDIS_PORT=6379
- REDIS_PASSWORD=
- # Optional: The number for Redis database, between 0 and 15. Defaults to 0.
- # If you don't know what this is, then you probably don't need to change it.
- REDIS_DB=0
- # Disable registration
- DISALLOW_REGISTRATION=false
- # Disable anonymous link creation
- DISALLOW_ANONYMOUS_LINKS=false
- # The daily limit for each user
- USER_LIMIT_PER_DAY=50
- # This would be shown to the user on the settings page
- # It's only for display purposes and has no other use
- SERVER_IP_ADDRESS=
- # Create a cooldown for non-logged in users in minutes
- # Would be ignored if DISALLOW_ANONYMOUS_LINKS is set to true
- # Set 0 to disable
- NON_USER_COOLDOWN=0
- # Max number of visits for each link to have detailed stats
- DEFAULT_MAX_STATS_PER_LINK=5000
- # Use HTTPS for links with custom domain
- CUSTOM_DOMAIN_USE_HTTPS=false
- # 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=
- # Optional - 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=
- # Optional - Email is used to verify or change email address, reset password, and send reports.
- # If it's disabled, all the above functionality would be disabled as well.
- # MAIL_FROM example: "Kutt <support@kutt.it>". Leave it empty to use MAIL_USER.
- # More info on the configuration on http://nodemailer.com/.
- MAIL_ENABLED=false
- MAIL_HOST=
- MAIL_PORT=
- MAIL_SECURE=true
- MAIL_USER=
- MAIL_FROM=
- MAIL_PASSWORD=
- # The email address that will receive submitted reports.
- REPORT_EMAIL=
- # Support email to show on the app
- CONTACT_EMAIL=
|