-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.production.example
More file actions
83 lines (69 loc) · 2.05 KB
/
Copy path.env.production.example
File metadata and controls
83 lines (69 loc) · 2.05 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
APP_NAME=Trakli
APP_ENV=production
APP_KEY=
APP_DEBUG=false
APP_URL=https://api.trakli.app
LOG_CHANNEL=stack
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=error
# Database - Use managed database service recommended
DB_CONNECTION=mysql
DB_HOST=your-db-host
DB_PORT=3306
DB_DATABASE=trakli
DB_USERNAME=trakli
DB_PASSWORD=your-secure-password
BROADCAST_DRIVER=log
CACHE_DRIVER=redis
FILESYSTEM_DISK=local
QUEUE_CONNECTION=redis
SESSION_DRIVER=redis
SESSION_LIFETIME=120
REDIS_HOST=redis
REDIS_PASSWORD=your-redis-password
REDIS_PORT=6379
# Mail configuration for production
MAIL_MAILER=smtp
MAIL_HOST=your-smtp-host
MAIL_PORT=587
MAIL_USERNAME=your-smtp-username
MAIL_PASSWORD=your-smtp-password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS="noreply@trakli.app"
MAIL_FROM_NAME="${APP_NAME}"
# Frontend URL
FRONTEND_URL=https://dashboard.trakli.app
# OAuth - Set your production credentials
GOOGLE_CLIENT_ID=your-google-client-id
GOOGLE_CLIENT_SECRET=your-google-client-secret
GOOGLE_REDIRECT_URI=${FRONTEND_URL}/auth/google/callback
# CORS and session domains
SANCTUM_STATEFUL_DOMAINS=dashboard.trakli.app
SESSION_DOMAIN=trakli.app
CORS_ALLOWED_ORIGINS=https://dashboard.trakli.app
# Production service credentials
SMARTPINGS_CLIENT_ID=your-smartpings-client-id
SMARTPINGS_SECRET_ID=your-smartpings-secret
# User Authentication Settings
USER_AUTH_REQUIRE_EMAIL_VERIFICATION=true
USER_AUTH_REQUIRE_PHONE_VERIFICATION=false
USER_AUTH_CODE_LENGTH=6
USER_AUTH_CODE_EXPIRY_MINUTES=5
USER_AUTH_RATE_LIMIT_ATTEMPTS=3
USER_AUTH_RATE_LIMIT_MINUTES=5
USER_AUTH_VERIFICATION_PROVIDER=smartpings
USER_AUTH_SELF_MANAGED=false
USER_AUTH_ROUTE_PREFIX=api/v1
MODEL_CONFIG_ROUTE_PREFIX=api/v1
# Firebase credentials path (ensure file exists in production)
FIREBASE_CREDENTIALS=storage/app/firebase-auth.json
# MCP (Model Context Protocol) Configuration
MCP_ENABLED=false
MCP_ENDPOINT=mcp
MCP_AUTH_GUARD=sanctum
MCP_RATE_LIMIT_ENABLED=true
MCP_RATE_LIMIT_MAX=60
MCP_RATE_LIMIT_DECAY=1
MCP_STRICT_PERMISSIONS=false
# Agent token-usage metrics (routes off; usage is read internally)
TOKEN_USAGE_REGISTER_ROUTES=false