forked from thedevs-network/kutt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.example.env
72 lines (58 loc) · 2.05 KB
/
.example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Optional - App port to run on
PORT=3000
# Optional - The name of the site where Kutt is hosted
SITE_NAME=Kutt
# Optional - The domain that this website is on
DEFAULT_DOMAIN=localhost:3000
# Required - A passphrase to encrypt JWT. Use a random long string
JWT_SECRET=
# Optional - 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, only if you use Postgres or MySQL
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
# Optional - Generated link length
LINK_LENGTH=6
# Optional - Redis host and port
REDIS_ENABLED=false
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
# 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
# Optional - Disable registration. Default is true.
DISALLOW_REGISTRATION=true
# Optional - Disable anonymous link creation. Default is true.
DISALLOW_ANONYMOUS_LINKS=true
# Optional - 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=
SERVER_CNAME_ADDRESS=
# Optional - Use HTTPS for links with custom domain
# It's on you to generate SSL certificates for those domains manually, at least on this version for now
CUSTOM_DOMAIN_USE_HTTPS=false
# 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 <[email protected]>". 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=
# Optional - Enable rate limitting for some API routes
ENABLE_RATE_LIMIT=false
# Optional - The email address that will receive submitted reports
REPORT_EMAIL=
# Optional - Support email to show on the app
CONTACT_EMAIL=