Skip to content

Commit aa586cf

Browse files
authored
chore: update cli config for storage buckets (supabase#30829)
* chore: update cli config for storage buckets * chore: mention default import map location * chore: add storage prefix to config id
1 parent 50ede55 commit aa586cf

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

apps/docs/spec/cli_v1_config.yaml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -586,12 +586,53 @@ parameters:
586586
tags: ['storage']
587587
required: false
588588
default: '"50MiB"'
589+
description: |
590+
The maximum file size allowed for all buckets in the project.
591+
links:
592+
- name: 'Storage server configuration'
593+
link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
594+
595+
- id: 'storage.buckets.bucket_name.public'
596+
title: 'storage.buckets.<bucket_name>.public'
597+
tags: ['storage']
598+
required: false
599+
default: 'false'
600+
description: |
601+
Enable public access to the bucket.
602+
links:
603+
- name: 'Storage server configuration'
604+
link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
605+
606+
- id: 'storage.buckets.bucket_name.file_size_limit'
607+
title: 'storage.buckets.<bucket_name>.file_size_limit'
608+
tags: ['storage']
609+
required: false
589610
description: |
590611
The maximum file size allowed (e.g. "5MB", "500KB").
591612
links:
592613
- name: 'Storage server configuration'
593614
link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
594615

616+
- id: 'storage.buckets.bucket_name.allowed_mime_types'
617+
title: 'storage.buckets.<bucket_name>.allowed_mime_types'
618+
tags: ['storage']
619+
required: false
620+
description: |
621+
The list of allowed MIME types for objects in the bucket.
622+
links:
623+
- name: 'Storage server configuration'
624+
link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
625+
626+
- id: 'storage.buckets.bucket_name.objects_path'
627+
title: 'storage.buckets.<bucket_name>.objects_path'
628+
tags: ['storage']
629+
required: false
630+
description: |
631+
The local directory to upload objects to the bucket.
632+
links:
633+
- name: 'Storage server configuration'
634+
link: 'https://supabase.com/docs/guides/self-hosting/storage/config'
635+
595636
- id: 'auth.enabled'
596637
title: 'auth.enabled'
597638
tags: ['auth']
@@ -1176,6 +1217,7 @@ parameters:
11761217
required: false
11771218
description: |
11781219
Specify the Deno import map file to use for the Function.
1220+
When not specified, defaults to `supabase/functions/<function_name>/deno.json`.
11791221
11801222
Note that the `--import-map` flag overrides this configuration.
11811223
links:

0 commit comments

Comments
 (0)