-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (25 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
30 lines (25 loc) · 1.07 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
# ==============================================================================
# DropNote Environment Configuration Template
# Copy this file to .env on the EC2 instance or set these in system environment
# NEVER commit the actual .env file with secrets into version control!
# ==============================================================================
# Flask Server Configuration
FLASK_ENV=production
FLASK_DEBUG=0
PORT=5000
SECRET_KEY=change-this-to-a-random-secret-key
# MySQL RDS Configuration
DB_HOST=your-rds-endpoint.xxxxxx.us-east-1.rds.amazonaws.com
DB_PORT=3306
DB_USER=admin
DB_PASSWORD=YourSecurePassword123!
DB_NAME=dropnote_db
# AWS S3 Configuration
# When running on EC2 with an IAM Role (e.g. LabRole), AWS credentials are automatically resolved.
S3_BUCKET_NAME=your-dropnote-s3-bucket-name
AWS_REGION=us-east-1
# Internal Admin & Scaling Diagnostics Security Key
# Required to access stress test (/api/admin/stress) and admin triggers
ADMIN_SECRET_KEY=dropnote-admin-secret-2024
# File Upload Limit (Bytes) - Default 10 MB (10 * 1024 * 1024)
MAX_CONTENT_LENGTH=10485760