Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: update cli config for storage buckets (#30829)

Han Qiaoaa586cf3dc5b
diff --git a/apps/docs/spec/cli_v1_config.yaml b/apps/docs/spec/cli_v1_config.yaml
index 3188928d9e7..2cd7a2e2e86 100644
--- a/apps/docs/spec/cli_v1_config.yaml
+++ b/apps/docs/spec/cli_v1_config.yaml
@@ -586,12 +586,53 @@ parameters:
tags: ['storage']
required: false
default: '"50MiB"'
+ description: |
+ The maximum file size allowed for all buckets in the project.
+ links:
+ - name: 'Storage server configuration'
+ link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
+
+ - id: 'storage.buckets.bucket_name.public'
+ title: 'storage.buckets.<bucket_name>.public'
+ tags: ['storage']
+ required: false
+ default: 'false'
+ description: |
+ Enable public access to the bucket.
+ links:
+ - name: 'Storage server configuration'
+ link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
+
+ - id: 'storage.buckets.bucket_name.file_size_limit'
+ title: 'storage.buckets.<bucket_name>.file_size_limit'
+ tags: ['storage']
+ required: false
description: |
The maximum file size allowed (e.g. "5MB", "500KB").
links:
- name: 'Storage server configuration'
link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
+ - id: 'storage.buckets.bucket_name.allowed_mime_types'
+ title: 'storage.buckets.<bucket_name>.allowed_mime_types'
+ tags: ['storage']
+ required: false
+ description: |
+ The list of allowed MIME types for objects in the bucket.
+ links:
+ - name: 'Storage server configuration'
+ link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
+
+ - id: 'storage.buckets.bucket_name.objects_path'
+ title: 'storage.buckets.<bucket_name>.objects_path'
+ tags: ['storage']
+ required: false
+ description: |
+ The local directory to upload objects to the bucket.
+ links:
+ - name: 'Storage server configuration'
+ link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
+
- id: 'auth.enabled'
title: 'auth.enabled'
tags: ['auth']
@@ -1176,6 +1217,7 @@ parameters:
required: false
description: |
Specify the Deno import map file to use for the Function.
+ When not specified, defaults to `supabase/functions/<function_name>/deno.json`.
Note that the `--import-map` flag overrides this configuration.
links: