-
Notifications
You must be signed in to change notification settings - Fork 206
/
Copy path.env.sample
49 lines (41 loc) · 1.07 KB
/
.env.sample
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
# Environment
NODE_ENV=development
TR_PORT=3000
TR_SECRET=supersecretkey
TR_VIRTUAL_HOST=http://localhost:8080
TR_PUBLIC_DIR=/path/to/public
TR_TEMPLATES_DIR=/path/to/templates
# CORS and Logging
TR_CORS_ENABLED=true
TR_ACCESS_LOGS_ENABLED=true
# Authentication
TR_AUTH_TOKEN_EXPIRES=86400
TR_SIGNUPS_ENABLED=true
# Database Configuration
TR_DB_TYPE=mysql
TR_DB_HOST=localhost
TR_DB_PORT=3306
TR_DB_USER=myuser
TR_DB_PASSWORD=mypassword
TR_DB_DATABASE=mydatabase
# Database Migration
TR_DB_AUTOMIGRATE=true
# Project Limits
TR_MAX_PROJECTS_PER_USER=100
TR_DEFAULT_PROJECT_PLAN=open-source
# Import Settings
TR_IMPORT_MAX_NESTED_LEVELS=5
# Google OAuth Provider
TR_AUTH_GOOGLE_ENABLED=false
TR_AUTH_GOOGLE_CLIENT_SECRET=your-google-client-secret
TR_AUTH_GOOGLE_CLIENT_ID=your-google-client-id
TR_AUTH_GOOGLE_REDIRECT_URL=http://localhost:3000/auth/google/callback
# Mail Configuration
TR_MAIL_DEBUG=true
TR_MAIL_HOST=smtp.mailtrap.io
TR_MAIL_PORT=587
TR_MAIL_SECURE=false
TR_MAIL_REJECT_SELF_SIGNED=true
TR_MAIL_USER=myuser
TR_MAIL_PASSWORD=mypassword