Self hosted: Storage disks and requests missing #817
Replies: 1 comment 2 replies
-
Hi, the "Storage" option only appears if you install the biigle/user-storage module (for storage requests) and/or the biigle/user-disks module (for configurable storage disks such as AWS in BIIGLE). If you only want to allow a fixed set of storage disks (e.g. you have only one S3 bucket for all your data) and your users should not be able to upload their own files through BIIGLE, you don't need these modules for your instance. You can configure the (fixed) storage disks that are visible to admins or regular users with the There is no S3 storage disk in the default configuration but you can add one to the filesystems config. Here is an example: 's3' => [
'driver' => 's3',
'read-only' => true,
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'stream_reads' => true,
'http' => [
'connect_timeout' => 5,
],
'throw' => true,
], As you can see, the config uses the variables from the |
Beta Was this translation helpful? Give feedback.
-
Hello,
We are hosting our own instance.
However I noticed that the "Storage" page is missing for users and admins:
Also when creating a volume the "Storage disk" option is missing:
Is there some setting in the .env to activate this? I also tried to send a storage request via the API and that returned an error that it is not available for the instance.
Another question of mine was if there is a general page explaining all the setting in .env a bit?
For example: If we configure those AWS settings, can we then use the s3 bucket as a source of images/videos? Or is that only possible via configuring a S3 storage disk?
Help is appreciated. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions