--- url: https://docs.codefox.ai/reference/settings/library.md --- # Library settings This page is generated from the code. To change it, change the code it is read from. These are the settings `foxden init` writes to Library's `.env` file on your server, 96 in all. Read one with `foxden config get ` and change it with `foxden config set `. ## You answer at install The installer asks for these. Change one later with `foxden config set`. | Setting | Secret | What the installer asks | | --- | --- | --- | | `UPDATER_REGISTRY_USERNAME` | | Registry username (from Codefox) | | `UPDATER_REGISTRY_TOKEN` | Yes | Registry pull token | ## Created at install Random secrets the installer creates. Keep a copy: restoring a backup needs the same values. | Setting | Secret | What the installer asks | | --- | --- | --- | | `APP_SECRET` | Yes | | | `POSTGRES_PASSWORD` | Yes | | | `LIBRARY_DB_APP_PASSWORD` | Yes | | | `UPDATER_SECRET` | Yes | | | `LIBRARY_SETUP_TOKEN` | Yes | | ## Worked out at install Filled in from your other answers, such as your domain. | Setting | Secret | What the installer asks | | --- | --- | --- | | `BASE_URL` | | | | `SEED_OWNER_EMAIL` | | | | `ALLOWED_EMAIL_DOMAINS` | | | ## Optional Blank unless you set one with `foxden config set`. | Setting | Secret | What the installer asks | | --- | --- | --- | | `TAG` | | | | `COMPOSE_FILE` | | | | `LIBRARY_REGISTRY` | | | | `LIBRARY_PORT` | | | | `LIBRARY_COLLAB_PORT` | | | | `UPDATER_MIN_FREE_GB` | | | | `CODEFOX_APEX` | | | | `ACCESS_ENFORCEMENT` | | | | `COLLAB_URL` | | | | `LIBRARY_S3_REGION` | | | | `LIBRARY_MAX_FILE_MB` | | | | `LIBRARY_MAX_DOC_MB` | | | | `LIBRARY_EXTRACT_CONCURRENCY` | | | | `LIBRARY_BLOB_RETENTION_DAYS` | | | | `LIBRARY_SPACE_QUOTA_MB` | | | | `LIBRARY_ARTIFACT_INLINE_KB` | | | | `LIBRARY_ARTIFACT_MAX_FILES` | | | | `LIBRARY_FRAME_TOKEN_SECONDS` | | | | `LIBRARY_MEDIA_TOKEN_HOURS` | | | | `LIBRARY_OUTBOX_RETENTION_DAYS` | | | | `LIBRARY_MIRROR_DELIVERY_RETENTION_DAYS` | | | | `LIBRARY_GRAPH_CLUSTER_AT` | | | | `LIBRARY_SUITE_GUIDE` | | | | `BACKUP_KEEP_DAYS` | | | | `MONITOR_BACKUP_MAX_AGE_HOURS` | | | | `LIBRARY_ALERT_ACK_P95_MS` | | | | `LIBRARY_ALERT_UPDATE_LOG_MB` | | | | `LIBRARY_ALERT_UNCOMPACTED` | | | | `LIBRARY_ALERT_CLASH_HOURS` | | | | `LIBRARY_ALERT_EXTRACT_WAIT_MINUTES` | | | | `LIBRARY_ALERT_EXTRACT_FAILURES` | | | | `LIBRARY_ALERT_NOT_SCANNED` | | | | `LIBRARY_ALERT_CREDENTIAL_FLAGS` | | | | `LIBRARY_ALERT_OUTBOX_WAIT_MINUTES` | | | | `LIBRARY_ALERT_OUTBOX_FAILED` | | | | `LIBRARY_DELIVERY_ATTEMPTS` | | | | `LIBRARY_RENDER_TIMEOUT_SECONDS` | | | | `LIBRARY_RENDER_MAX_PAGES` | | | | `LIBRARY_RENDER_MAX_MB` | | | | `LIBRARY_BRAND_LOGO_KB` | | | | `LIBRARY_ALERT_RENDER_FAILURES` | | | | `LIBRARY_RENDERER_MEMORY` | | | | `LIBRARY_RENDERER_CPUS` | | | | `LIBRARY_RENDERER_PIDS` | | | | `LIBRARY_RENDERER_TMP_MB` | | | | `LIBRARY_VERIFY_CODE_MINUTES` | | | | `LIBRARY_VERIFY_CODE_TRIES` | | | | `LIBRARY_VERIFY_CODES_PER_ADDRESS` | | | | `LIBRARY_VERIFY_CODES_PER_LINK` | | | | `LIBRARY_SHARE_PASSWORD_TRIES` | | | | `LIBRARY_SHARE_VISIT_HOURS` | | | | `LIBRARY_SHARE_EXPIRY_DAYS` | | | | `LIBRARY_ROOM_ALERT_AFTER_SECONDS` | | | | `LIBRARY_ROOM_READING_NOW_SECONDS` | | | | `LIBRARY_ROOM_PROGRESS_MINUTES` | | | | `LIBRARY_ROOM_CALLS_PER_MINUTE` | | | | `LIBRARY_ROOM_QUESTIONS_PER_HOUR` | | | | `LIBRARY_ROOM_ALERT_STALE_HOURS` | | | | `LIBRARY_ROOM_TIME_ZONE` | | | | `LIBRARY_GATE_RECONCILE_MINUTES` | | | | `LIBRARY_GATE_RECONCILE_BUDGET_MS` | | | | `LIBRARY_ALERT_GATE_GAPS` | | | | `LIBRARY_COMMENT_MAX_CHARS` | | | | `LIBRARY_MENTIONS_PER_COMMENT` | | | | `LIBRARY_THREADS_PER_PAGE` | | | | `LIBRARY_OPEN_PROPOSALS_PER_PAGE` | | | | `LIBRARY_CLOSED_PROPOSAL_DAYS` | | | | `LIBRARY_DIGEST_HOUR` | | | | `LIBRARY_DEFAULT_TIME_ZONE` | | | | `LIBRARY_NOTICE_STALE_HOURS` | | | | `LIBRARY_INBOX_RETENTION_DAYS` | | | | `LIBRARY_AI_SESSION_IDLE_MINUTES` | | | | `LIBRARY_REVERT_PAGES_PER_CALL` | | | | `LIBRARY_TEMPLATE_MAX_PAGES` | | | | `LIBRARY_ASK_PAGES` | | | | `LIBRARY_ASK_PASSAGE_CHARS` | | | | `LIBRARY_ASK_CONTEXT_CHARS` | | | | `LIBRARY_ASK_ANSWER_TOKENS` | | | | `LIBRARY_ASK_PAGE_TOKENS` | | | | `LIBRARY_ASK_PER_MINUTE` | | | | `LIBRARY_ASK_LOG_DAYS` | | | | `LIBRARY_SUITE_TIMEOUT_MS` | | | | `LIBRARY_SUITE_REFS_PER_VIEW` | | | | `LIBRARY_HYBRID_MIN_SIMILARITY` | | | | `PEOPLE_MANAGED_BY` | | | ## Set by Foxden The same on every install. Do not change these. | Setting | Secret | What the installer asks | | --- | --- | --- | | `COMPOSE_PROFILES` | | |