-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
56 lines (46 loc) · 1.49 KB
/
.env.example
File metadata and controls
56 lines (46 loc) · 1.49 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
# Flask Debug Mode (1 = development with debug server, 0 = production with gunicorn)
FLASK_DEBUG=1
# Security (CRITICAL - Keep Secret!)
# Generate: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=
# Database Configuration
# These vars configure both the PostgreSQL container AND the Flask app.
# The app constructs the connection URI from these components automatically.
# Container deployments set DATABASE_HOST=db via docker-compose.
POSTGRES_DB=mantis_tracker
POSTGRES_USER=mantis_user
POSTGRES_PASSWORD=mantis
# DATABASE_HOST=localhost # default for local dev, overridden to "db" in containers
# DATABASE_PORT=5432
# Database Connection Pool (optional)
# DB_POOL_SIZE=10
# DB_MAX_OVERFLOW=20
# DB_POOL_RECYCLE=3600
# Upload/Datastore Configuration
# Local dev uses app/datastore by default. Containers set UPLOAD_FOLDER
# via docker-compose. Only set this if you need a custom path.
# UPLOAD_FOLDER=/custom/absolute/path
# Email Configuration
MAIL_SERVER=
MAIL_PORT=25
MAIL_USE_TLS=True
MAIL_USE_SSL=False
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_DEFAULT_SENDER=
MAIL_DEFAULT_SENDER_NAME=
REVIEWERMAIL=False
# Logging Level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
FLASK_LOG_LEVEL=INFO
# Session/Security Settings
PREFERRED_URL_SCHEME=http
SESSION_COOKIE_SECURE=False
# Application Settings
CELEBRATION_THRESHOLD=10000
# Container Settings
WEB_PORT=5000
PROJECT_NAME=mantis
# Production Settings (uncomment for production)
# FLASK_DEBUG=0
# PREFERRED_URL_SCHEME=https
# SESSION_COOKIE_SECURE=True