# Study Desk configuration. Every value is optional. # In Docker, set these as container environment variables instead of using this file. # Where the database, uploads and backups live. Default: /data in the container, ./data otherwise. # DATA_DIR=/data # Port and bind address. # PORT=3726 # HOST=0.0.0.0 # First-run administrator password. If unset, the first visit shows a setup screen that asks # for the one-time code printed in the log (also written to DATA_DIR/setup-code.txt). # ADMIN_PASSWORD= # Forgot the password? Set this, restart once, sign in, then remove it again. # RESET_ADMIN_PASSWORD= # Secret used to encrypt AI provider API keys at rest. If unset, a random key is generated and # stored in DATA_DIR/secret.key. Set it explicitly if you want the key kept outside the data folder. # APP_SECRET= # Cookie "Secure" flag: auto (default: on whenever the request arrived over HTTPS), true or false. # COOKIE_SECURE=auto # Trust X-Forwarded-* headers from a reverse proxy (default true). Set false if the container # is exposed directly to the internet without a proxy. # TRUST_PROXY=true # Largest upload accepted, in megabytes. # MAX_UPLOAD_MB=100 # Number of automatic daily database snapshots to keep. # BACKUP_KEEP=7 # Use the built-in embedding model for semantic search until another is chosen (default on). # The model (~35 MB) is downloaded once into DATA_DIR/models. # LOCAL_EMBEDDINGS=on # Timezone used for "today", streaks and due dates until you change it in Settings. # TZ=America/Phoenix