-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env_example
More file actions
executable file
·117 lines (88 loc) · 2.89 KB
/
.env_example
File metadata and controls
executable file
·117 lines (88 loc) · 2.89 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
# .env file for SysMVC
# Application settings
APP_NAME=SysMVC
APP_KEY=de6b13cebb1ef3a14f2e5a8b13667d15fddaaa8e3fd6345b3c096b5695ddf606
APP_ENV=local # options: local, production, staging
APP_DEBUG=true # options: true, false
APP_URL=http://localhost
# Database configuration
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=sysmvc
DB_USERNAME=root
DB_PASSWORD=root
# Session configuration
SESSION_DRIVER=file # options: file, database, redis, etc.
SESSION_LIFETIME=120 # in minutes
# Mail configuration (example for SMTP)
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=noreply@example.com
MAIL_FROM_NAME="${APP_NAME}"
# Logging configuration
LOG_CHANNEL=stack # options: daily, single, syslog, etc.
# JWT Secret for authentication (if you're using JWT)
JWT_SECRET=your_jwt_secret_key
# Other third-party services
PUSHER_APP_ID=your_pusher_app_id
PUSHER_APP_KEY=your_pusher_app_key
PUSHER_APP_SECRET=your_pusher_app_secret
# Redis configuration (if you're using Redis)
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
REDIS_DB=0
# Storage paths (example for image uploads)
UPLOADS_DIR=/var/www/sysmvc/public/uploads
# Other sensitive credentials
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
# PayPal
PAYPAL_CLIENT_ID=your_paypal_client_id
PAYPAL_SECRET=your_paypal_secret_key
PAYPAL_MODE=sandbox # or "live" for production
# MercadoPago
MERCADOPAGO_ACCESS_TOKEN=your_access_token
MERCADOPAGO_PUBLIC_KEY=your_public_key
# Pagar.me
PAGARME_API_KEY=your_api_key
PAGARME_ENCRYPTION_KEY=your_encryption_key
# Braintree
BRAINTREE_MERCHANT_ID=your_merchant_id
BRAINTREE_PUBLIC_KEY=your_public_key
BRAINTREE_PRIVATE_KEY=your_private_key
# PagSeguro
PAGSEGURO_EMAIL=your_pagseguro_email
PAGSEGURO_TOKEN=your_pagseguro_token
API_PUBLIC_KEY=9d8f87ae56d7806759d59a8e1119b47d
API_SECRET_KEY=7958d0834f85a08beef4d4d23cd1d184f9dcfc2b60b2c30f0a67a677960d62c2
# Optional for development
APP_TIMEZONE=America/Sao_Paulo
# PHP Configuration
# PHP memory limit (increase if processing large amounts of data)
PHP_MEMORY_LIMIT=512M
# Maximum script execution time (avoids timeout in long processes)
PHP_MAX_EXECUTION_TIME=300
# Maximum time a script can wait for input (such as upload)
PHP_MAX_INPUT_TIME=120
# Maximum file upload size
PHP_UPLOAD_MAX_FILESIZE=50M
# Maximum POST size (affects large file uploads)
PHP_POST_MAX_SIZE=50M
# Maximum number of files uploaded per request
PHP_MAX_FILE_UPLOADS=50
# Display PHP errors (use false in production)
PHP_DISPLAY_ERRORS=true
# Display PHP startup errors
PHP_DISPLAY_STARTUP_ERRORS=true
# PHP error level (E_ALL captures everything, E_ERROR captures only critical errors)
PHP_ERROR_REPORTING=E_ALL
# Enable or disable PHP error logs
PHP_LOG_ERRORS=true
# PHP error log file
PHP_ERROR_LOG=/var/log/php_errors.log