-
-
Notifications
You must be signed in to change notification settings - Fork 69
Expand file tree
/
Copy pathenv.local-test.example
More file actions
35 lines (25 loc) · 760 Bytes
/
Copy pathenv.local-test.example
File metadata and controls
35 lines (25 loc) · 760 Bytes
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
# Local Testing Environment Variables
# Copy this file to .env.local-test and modify as needed
# Timezone (default: Europe/Brussels)
TZ=Europe/Brussels
# Currency (default: EUR)
CURRENCY=EUR
# Timer settings
ROUNDING_MINUTES=1
SINGLE_ACTIVE_TIMER=true
IDLE_TIMEOUT_MINUTES=30
# User management
ALLOW_SELF_REGISTER=true
ADMIN_USERNAMES=admin,testuser
# Security (CHANGE THESE FOR PRODUCTION!)
SECRET_KEY=local-test-secret-key-change-this-please-override-32plus
# Database (SQLite for local testing)
DATABASE_URL=sqlite:////data/timetracker.db
# Logging
LOG_FILE=/app/logs/timetracker.log
# Cookie settings (disabled for local testing)
SESSION_COOKIE_SECURE=false
REMEMBER_COOKIE_SECURE=false
# Flask environment
FLASK_ENV=development
FLASK_DEBUG=true