-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (30 loc) · 1.13 KB
/
Copy path.env.example
File metadata and controls
37 lines (30 loc) · 1.13 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
# Oil Spill Detection App - Environment Variables
# Copy this to .env and fill in your values (NEVER commit .env to git)
# ============ DATABASE ============
DB_HOST=localhost
DB_PORT=3306
DB_USER=oil_spill_user
DB_PASSWORD=change_me_secure_password
DB_NAME=oil_spill_db
# ============ FLASK ============
FLASK_ENV=production
FLASK_DEBUG=False
FLASK_SECRET_KEY=change_me_long_random_secret_key_min_32_chars
# ============ AWS CREDENTIALS (for S3 uploads) ============
AWS_ACCESS_KEY_ID=your_aws_access_key
AWS_SECRET_ACCESS_KEY=your_aws_secret_key
AWS_S3_BUCKET=your-bucket-name
AWS_REGION=us-east-1
# ============ GOOGLE OAUTH (for OilSpillPortal) ============
GOOGLE_CLIENT_ID=your_google_client_id.apps.googleusercontent.com
GOOGLE_CLIENT_SECRET=your_google_client_secret
GOOGLE_REDIRECT_URI=https://yourdomain.com/auth/callback
# ============ ROBOFLOW (for oil detection models) ============
ROBOFLOW_API_KEY=your_roboflow_api_key
# ============ LOGGING ============
LOG_LEVEL=INFO
LOG_FILE=/var/log/oil-spill-app/app.log
# ============ SECURITY ============
SESSION_COOKIE_SECURE=True
SESSION_COOKIE_HTTPONLY=True
SESSION_COOKIE_SAMESITE=Lax