-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.production.example
More file actions
43 lines (36 loc) · 1.21 KB
/
Copy path.env.production.example
File metadata and controls
43 lines (36 loc) · 1.21 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
# ============================================
# WP MANAGER — PRODUCTION ENVIRONMENT
# Copy to .env and fill in real values
# ============================================
APP_NAME="WP Manager"
APP_ENV=production
APP_KEY= # Run: php artisan key:generate
APP_DEBUG=false # CRITICAL: must be false in production
APP_URL=https://your-domain.com # Your actual domain with HTTPS
BCRYPT_ROUNDS=12
LOG_CHANNEL=stack
LOG_STACK=single
LOG_LEVEL=error # Only errors in production
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=wp_manager
DB_USERNAME= # Use a dedicated DB user, not root
DB_PASSWORD= # Strong password
SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=true # Encrypt sessions in production
SESSION_SAME_SITE=lax
SESSION_PATH=/
SESSION_DOMAIN=.your-domain.com # Your domain
SESSION_SECURE_COOKIE=true # HTTPS only cookies
QUEUE_CONNECTION=database
CACHE_STORE=database
MAIL_MAILER=smtp
MAIL_HOST= # Your SMTP server
MAIL_PORT=587
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=noreply@your-domain.com
MAIL_FROM_NAME="${APP_NAME}"