-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (27 loc) · 1.05 KB
/
.env.example
File metadata and controls
33 lines (27 loc) · 1.05 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
# ──────────────────────────────────────────────
# Secure Digital Document Vault — Environment
# ──────────────────────────────────────────────
# ── Application ──
APP_NAME="Secure Digital Document Vault"
APP_VERSION="1.0.0"
DEBUG=true
# ── Database ──
# SQLite (development):
DATABASE_URL=sqlite:///./secure_vault.db
# PostgreSQL (production):
# DATABASE_URL=postgresql://user:password@localhost:5432/secure_vault
# ── JWT ──
SECRET_KEY=CHANGE_ME_TO_A_RANDOM_64_CHAR_STRING
JWT_ALGORITHM=HS256
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# ── File Storage ──
UPLOAD_DIR=uploaded_files
MAX_FILE_SIZE_MB=10
# ── WebAuthn ──
WEBAUTHN_RP_ID=localhost
WEBAUTHN_RP_NAME="Secure Digital Document Vault"
WEBAUTHN_ORIGIN=http://localhost:8000
# ── Rate Limiting ──
RATE_LIMIT_LOGIN_ATTEMPTS=5
RATE_LIMIT_WINDOW_SECONDS=300