-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.env
More file actions
56 lines (47 loc) · 1.24 KB
/
example.env
File metadata and controls
56 lines (47 loc) · 1.24 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
# Bug Tracking System Environment Configuration
# Copy this file to .env and update the values according to your environment
# Application Settings
APP_NAME="Bug Tracking System"
APP_VERSION="1.2.0"
APP_ENV="production"
APP_DEBUG="false"
APP_URL="http://localhost"
APP_TIMEZONE="UTC"
# Database Configuration
DB_HOST="localhost"
DB_PORT="3306"
DB_NAME="bug_tracking_system"
DB_USERNAME="your_username"
DB_PASSWORD="your_secure_password"
DB_CHARSET="utf8mb4"
# Security Settings
SESSION_SECURE="true"
SESSION_HTTP_ONLY="true"
SESSION_SAME_SITE="Lax"
SESSION_LIFETIME="3600"
# File Upload Settings
UPLOAD_MAX_SIZE="5242880"
UPLOAD_PATH="./uploads"
ALLOWED_FILE_TYPES="jpg,jpeg,png,gif,pdf,doc,docx,txt"
# Email Configuration (for notifications)
MAIL_HOST="smtp.example.com"
MAIL_PORT="587"
MAIL_USERNAME="noreply@example.com"
MAIL_PASSWORD="your_email_password"
MAIL_ENCRYPTION="tls"
MAIL_FROM_ADDRESS="noreply@example.com"
MAIL_FROM_NAME="Bug Tracking System"
# Logging
LOG_LEVEL="error"
LOG_PATH="./logs"
# Security Headers
SECURITY_HEADERS_ENABLED="true"
CSP_ENABLED="true"
# Rate Limiting
RATE_LIMIT_ENABLED="true"
RATE_LIMIT_ATTEMPTS="5"
RATE_LIMIT_DECAY_MINUTES="15"
# Backup Settings
BACKUP_ENABLED="true"
BACKUP_PATH="./backups"
BACKUP_RETENTION_DAYS="30"