mirror of
https://github.com/DRYTRIX/TimeTracker.git
synced 2026-01-02 09:40:07 -06:00
40 lines
823 B
Plaintext
40 lines
823 B
Plaintext
# Time Tracker Configuration
|
|
# Copy this file to .env and modify as needed
|
|
|
|
# Application Settings
|
|
SECRET_KEY=your-secret-key-change-this-in-production
|
|
FLASK_ENV=production
|
|
FLASK_DEBUG=false
|
|
|
|
# Database
|
|
DATABASE_URL=postgresql+psycopg2://timetracker:timetracker@localhost:5432/timetracker
|
|
POSTGRES_DB=timetracker
|
|
POSTGRES_USER=timetracker
|
|
POSTGRES_PASSWORD=timetracker
|
|
|
|
# Timezone and Localization
|
|
TZ=Europe/Brussels
|
|
CURRENCY=EUR
|
|
|
|
# Time Tracking Settings
|
|
ROUNDING_MINUTES=1
|
|
SINGLE_ACTIVE_TIMER=true
|
|
IDLE_TIMEOUT_MINUTES=30
|
|
|
|
# User Management
|
|
ALLOW_SELF_REGISTER=true
|
|
ADMIN_USERNAMES=admin
|
|
|
|
# Session Settings
|
|
SESSION_COOKIE_SECURE=false
|
|
SESSION_COOKIE_HTTPONLY=true
|
|
PERMANENT_SESSION_LIFETIME=86400
|
|
|
|
# Backup Settings
|
|
BACKUP_RETENTION_DAYS=30
|
|
BACKUP_TIME=02:00
|
|
|
|
# Logging
|
|
LOG_LEVEL=INFO
|
|
LOG_FILE=/app/logs/timetracker.log
|