forked from ever-co/ever-traduora
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
63 lines (52 loc) · 1.34 KB
/
.env.sample
File metadata and controls
63 lines (52 loc) · 1.34 KB
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
# 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
# Throttling - Global
TR_THROTTLE_TTL=60000
TR_THROTTLE_LIMIT=0
# Throttling - Auth
TR_AUTH_THROTTLE_TTL=60000
TR_AUTH_THROTTLE_LIMIT=10
# 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_SENDER=no-reply@myapp.com
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
# Seed Admin User Automatically
TR_SEED_DATA=true
TR_ADMIN_EMAIL=local.admin@ever.co
TR_ADMIN_PASSWORD=sTr0ngP@ssw0rd!2025
TR_ADMIN_NAME=Admin