@@ -11,9 +11,17 @@ DEFAULT_DOMAIN=localhost:3000
1111JWT_SECRET =
1212
1313# Optional - Database client. Available clients for the supported databases:
14- # pg | pg-native | sqlite3 | better-sqlite3 | mysql | mysql2 | oracledb | tedious
15- DB_CLIENT = sqlite3
16- # SQL database credential details, only if you use Postgres or MySQL
14+ # pg | better-sqlite3 | mysql2
15+ # other supported drivers that you can use but you have to manually install them with npm:
16+ # pg-native | sqlite3 | mysql
17+ DB_CLIENT = better-sqlite3
18+
19+ # Optional - SQLite database file path
20+ # Only if you're using SQLite
21+ DB_FILENAME = db/data
22+
23+ # Optional - SQL database credential details
24+ # Only if you're using Postgres or MySQL
1725DB_HOST = localhost
1826DB_PORT = 5432
1927DB_NAME = kutt
@@ -26,6 +34,15 @@ DB_POOL_MAX=10
2634# Optional - Generated link length
2735LINK_LENGTH = 6
2836
37+ # Optional - Alphabet used to generate custom addresses
38+ # Default value omits o, O, 0, i, I, l, 1, and j to avoid confusion when reading the URL
39+ LINK_CUSTOM_ALPHABET = abcdefghkmnpqrstuvwxyzABCDEFGHKLMNPQRSTUVWXYZ23456789
40+
41+ # Optional - Tells the app that it's running behind a proxy server
42+ # and that it should get the IP address from that proxy server
43+ # if you're not using a proxy server then set this to false, otherwise users can override their IP address
44+ TRUST_PROXY = true
45+
2946# Optional - Redis host and port
3047REDIS_ENABLED = false
3148REDIS_HOST = 127.0.0.1
@@ -56,7 +73,7 @@ CUSTOM_DOMAIN_USE_HTTPS=false
5673# More info on the configuration on http://nodemailer.com/.
5774MAIL_ENABLED = false
5875MAIL_HOST =
59- MAIL_PORT =
76+ MAIL_PORT = 587
6077MAIL_SECURE = true
6178MAIL_USER =
6279MAIL_FROM =
0 commit comments