-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
106 lines (92 loc) · 3.18 KB
/
Copy path.env.example
File metadata and controls
106 lines (92 loc) · 3.18 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
# Poultry Platform - Environment Variables
# Copy this file to .env and update values for your environment
# ===========================================
# Database Configuration
# ===========================================
DB_HOST=localhost
DB_PORT=5432
DB_NAME=poultry
DB_USERNAME=postgres
DB_PASSWORD=your_secure_password_here
# ===========================================
# Redis Configuration
# ===========================================
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# ===========================================
# Kafka Configuration
# ===========================================
KAFKA_SERVERS=localhost:9092
# ===========================================
# MinIO Configuration (S3-compatible storage)
# ===========================================
MINIO_ENDPOINT=http://localhost:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=your_minio_secret_here
# ===========================================
# JWT Configuration
# ===========================================
# Generate a strong 256-bit secret key for production
# Use: openssl rand -base64 32
JWT_SECRET=your-256-bit-secret-key-for-jwt-signing-must-be-at-least-256-bits
# ===========================================
# Encryption Configuration (256-bit secure key)
# ===========================================
ENCRYPTION_KEY=your-256-bit-encryption-key-base64
# ===========================================
# Payment Gateway - Razorpay
# ===========================================
RAZORPAY_ENABLED=false
RAZORPAY_KEY_ID=rzp_test_xxxxxxxxxxxxx
RAZORPAY_KEY_SECRET=your_razorpay_secret
RAZORPAY_WEBHOOK_SECRET=your_webhook_secret
RAZORPAY_ACCOUNT_NUMBER=your_account_number
# ===========================================
# SMS Provider - MSG91
# ===========================================
MSG91_AUTH_KEY=your_msg91_auth_key
MSG91_SENDER_ID=PLTRY
MSG91_TEMPLATE_ID=your_template_id
# ===========================================
# SMS Provider - Twilio (Alternative)
# ===========================================
TWILIO_ACCOUNT_SID=your_account_sid
TWILIO_AUTH_TOKEN=your_auth_token
TWILIO_PHONE_NUMBER=+1234567890
# ===========================================
# Email Provider (Optional)
# ===========================================
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=your_email@example.com
SMTP_PASSWORD=your_email_password
# ===========================================
# Firebase Cloud Messaging (Optional)
# ===========================================
FCM_PROJECT_ID=your_firebase_project_id
FCM_PRIVATE_KEY=your_private_key
FCM_CLIENT_EMAIL=your_client_email
# ===========================================
# Application Settings
# ===========================================
SPRING_PROFILES_ACTIVE=local
PLATFORM_FEE_PERCENT=2.0
PAYMENT_TIMEOUT_MINUTES=30
MAX_BUYER_SESSIONS=2
# ===========================================
# Rate Limiting
# ===========================================
RATE_LIMIT_ENABLED=true
RATE_LIMIT_DEFAULT_RPM=100
RATE_LIMIT_AUTH_RPM=20
RATE_LIMIT_ADMIN_RPM=200
RATE_LIMIT_WEBHOOK_RPM=500
# ===========================================
# Security Headers
# ===========================================
SECURITY_HEADERS_ENABLED=true
HSTS_ENABLED=true
HSTS_MAX_AGE=31536000
HSTS_INCLUDE_SUBDOMAINS=true
HSTS_PRELOAD=true