diff options
| author | Mohamed Bassem <me@mbassem.com> | 2025-02-02 15:19:59 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2025-02-02 15:47:21 +0000 |
| commit | b59fe2ee819acc4c8115c9f6322050e2d1dc2204 (patch) | |
| tree | 5614c91513311a706d7911f7dd1849cf31c9cec7 | |
| parent | 3cd490e663b1c28ee8128b2f506dfe435b605179 (diff) | |
| download | karakeep-b59fe2ee819acc4c8115c9f6322050e2d1dc2204.tar.zst | |
feat: Change default max upload size to 50MB up from 4MB
| -rw-r--r-- | docs/docs/03-configuration.md | 10 | ||||
| -rw-r--r-- | packages/shared/config.ts | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/docs/03-configuration.md b/docs/docs/03-configuration.md index 2ff8ff25..59496409 100644 --- a/docs/docs/03-configuration.md +++ b/docs/docs/03-configuration.md @@ -9,7 +9,7 @@ The app is mainly configured by environment variables. All the used environment | NEXTAUTH_SECRET | Yes | Not set | Random string used to sign the JWT tokens. Generate one with `openssl rand -base64 36`. | | MEILI_ADDR | No | Not set | The address of meilisearch. If not set, Search will be disabled. E.g. (`http://meilisearch:7700`) | | MEILI_MASTER_KEY | Only in Prod and if search is enabled | Not set | The master key configured for meilisearch. Not needed in development environment. Generate one with `openssl rand -base64 36` | -| MAX_ASSET_SIZE_MB | No | 4 | Sets the maximum allowed asset size (in MB) to be uploaded | +| MAX_ASSET_SIZE_MB | No | 50 | Sets the maximum allowed asset size (in MB) to be uploaded | | DISABLE_NEW_RELEASE_CHECK | No | false | If set to true, latest release check will be disabled in the admin panel. | ## Authentication / Signup @@ -100,10 +100,10 @@ Hoarder uses [tesseract.js](https://github.com/naptha/tesseract.js) to extract t You can use webhooks to trigger actions when bookmarks are created, changed or crawled. -| Name | Required | Default | Description | -| ------------------- | -------- | ------- | ---------------------------------------------------------------------------------------------- | -| WEBHOOK_TIMEOUT_SEC | No | 5 | The timeout for the webhook request in seconds. | -| WEBHOOK_RETRY_TIMES | No | 3 | The number of times to retry the webhook request. | +| Name | Required | Default | Description | +| ------------------- | -------- | ------- | ------------------------------------------------- | +| WEBHOOK_TIMEOUT_SEC | No | 5 | The timeout for the webhook request in seconds. | +| WEBHOOK_RETRY_TIMES | No | 3 | The number of times to retry the webhook request. | :::info diff --git a/packages/shared/config.ts b/packages/shared/config.ts index 9e5741b7..0c312f21 100644 --- a/packages/shared/config.ts +++ b/packages/shared/config.ts @@ -54,7 +54,7 @@ const allEnv = z.object({ DEMO_MODE_EMAIL: z.string().optional(), DEMO_MODE_PASSWORD: z.string().optional(), DATA_DIR: z.string().default(""), - MAX_ASSET_SIZE_MB: z.coerce.number().default(4), + MAX_ASSET_SIZE_MB: z.coerce.number().default(50), INFERENCE_LANG: z.string().default("english"), WEBHOOK_TIMEOUT_SEC: z.coerce.number().default(5), WEBHOOK_RETRY_TIMES: z.coerce.number().int().min(0).default(3), |
