biigle / user-disks
BIIGLE module to offer private storage disks for users.
Installs: 4 686
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 4
pkg:composer/biigle/user-disks
Requires
- league/flysystem-aws-s3-v3: ^3.12
- league/flysystem-read-only: ^3.3
Suggests
- biigle/laravel-azure-storage: Required if the 'azure' disk type should be enabled
- biigle/laravel-dcache: Required if the 'dcache' disk type should be enabled
- biigle/laravel-elements-storage: Required if the 'elements' disk type should be enabled
- biigle/laravel-socialite-haai: Required if the 'dcache' disk type should be enabled
- biigle/laravel-webdav: Required if the 'webdav' disk type should be enabled
README
This is a BIIGLE module that offers private storage disks for users.
Configuration
This module supports s3, azure, webdav, elements, dcache and aruna storage disks but by default only S3 is enabled. Configure the enabled storage disk types as a comma-separated list with the USER_DISKS_TYPES environment variable (e.g. s3,webdav).
Required Configuration by Disk Type
Different storage disk types require additional packages to be installed:
- S3: No additional packages required (included by default)
- Azure: Requires
biigle/laravel-azure-storagecomposer require biigle/laravel-azure-storage
- WebDAV: Requires
biigle/laravel-webdavcomposer require biigle/laravel-webdav
- Elements: Requires
biigle/laravel-elements-storagecomposer require biigle/laravel-elements-storage
- dCache: Requires both
biigle/laravel-dcacheandbiigle/laravel-socialite-haaicomposer require biigle/laravel-dcache biigle/laravel-socialite-haai
Follow the installation instructions ofbiigle/laravel-socialite-haaiin case it wasn't set up laready (e.g viabiigle/auth-haai). In addition, you have to add theDCACHE_TOKEN_EXCHANGE_CLIENT_IDandDCACHE_TOKEN_EXCHANGE_CLIENT_SECRETvariables to the.envfile. These are the OICD credentials for the dCache Keycloak. - Aruna: No additional packages required (included by default but disabled)
Install only the packages for the disk types you plan to enable.
Installation
- Run
composer require biigle/user-disks. - Add
Biigle\Modules\UserDisks\UserDisksServiceProvider::classto theprovidersarray inconfig/app.php. - Run
php artisan vendor:publish --tag=publicto refresh the public assets of the modules. Do this for every update of this module. - Run
php artisan migrateto create the new database tables.
Developing
Take a look at the development guide of the core repository to get started with the development setup.
Want to develop a new module? Head over to the biigle/module template repository.
Contributions and bug reports
Contributions to BIIGLE are always welcome. Check out the contribution guide to get started.