-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
26 lines (21 loc) · 1.66 KB
/
.env.example
File metadata and controls
26 lines (21 loc) · 1.66 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
# ── Application ──────────────────────────────────────────────────────────────
APP_NAME="Plagiarism Detection System"
VERSION="2.0.0"
DEBUG=false
# ── Security ──────────────────────────────────────────────────────────────────
# Generate with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=your-secret-key-at-least-32-chars-long
ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=1440
# ── Admin account (created automatically on first startup) ────────────────────
ADMIN_USERNAME=admin
ADMIN_PASSWORD=admin123
# ── Database ──────────────────────────────────────────────────────────────────
# Format: mysql+pymysql://USER:PASSWORD@HOST:PORT/DATABASE
DATABASE_URL=mysql+pymysql://user:password@host:port/dbname
# ── Plagiarism ────────────────────────────────────────────────────────────────
DEFAULT_PLAGIARISM_THRESHOLD=40.0
MAX_EXTERNAL_SOURCES=5
# ── Logging ───────────────────────────────────────────────────────────────────
LOG_LEVEL=INFO
LOG_FILE=app.log