-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.staging
More file actions
75 lines (61 loc) · 1.73 KB
/
Copy path.env.staging
File metadata and controls
75 lines (61 loc) · 1.73 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
# Staging Environment Configuration
# Copy this to .env on your staging server
APP_NAME="AI SaaS Platform (Staging)"
APP_ENV=staging
APP_KEY=base64:your-generated-app-key-here
APP_DEBUG=true
APP_URL=https://staging.yourdomain.com
APP_TIMEZONE=UTC
# Database Configuration
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=your_staging_database_name
DB_USERNAME=your_staging_database_username
DB_PASSWORD=your_staging_database_password
# Broadcasting
BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database
SESSION_DRIVER=file
SESSION_LIFETIME=120
# Mail Configuration (use test settings or mail trap)
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=your_mailtrap_username
MAIL_PASSWORD=your_mailtrap_password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=test@staging.yourdomain.com
MAIL_FROM_NAME="${APP_NAME}"
# Redis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
# AI API Keys (use test keys or lower limits)
OPENAI_API_KEY=sk-your-test-openai-key
ANTHROPIC_API_KEY=sk-ant-your-test-anthropic-key
# Stripe Configuration (use test mode)
STRIPE_KEY=pk_test_your_test_stripe_key
STRIPE_SECRET=sk_test_your_test_stripe_secret
STRIPE_WEBHOOK_SECRET=whsec_your_test_webhook_secret
# Cashier Configuration
CASHIER_CURRENCY=usd
CASHIER_CURRENCY_LOCALE=en
# Sanctum Configuration
SANCTUM_STATEFUL_DOMAINS=staging.yourdomain.com
# CORS Configuration
CORS_ALLOWED_ORIGINS=https://staging.yourdomain.com
# Logging
LOG_CHANNEL=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug
# Security (relaxed for staging)
SESSION_SECURE_COOKIE=true
CSRF_COOKIE_SECURE=true
# Tenant Configuration
TENANCY_HOSTNAME=staging.yourdomain.com
# Staging Specific Settings
DEBUGBAR_ENABLED=true
TELESCOPE_ENABLED=true