This plugin stores uploaded files to Amazon S3 instead of storing files on the local filesystem.
- Frederic Guillot
- License MIT
- Kanboard >= 1.0.37
- PHP >= 5.5
- Account with Amazon AWS, or other S3 compatible service
You have the choice between 3 methods:
- Install the plugin from the Kanboard plugin manager in one click
- Download the zip file and decompress everything under the directory
plugins/S3
- Clone this repository into the folder
plugins/S3
Note: Plugin folder is case-sensitive.
You can configure this plugin through the user interface or with the config file. Use the config file if you don't want to store AWS credentials into the database.
Go to Settings > Integrations > Amazon S3 Storage:
Add those config parameters in your config.php
:
define('AWS_KEY', 'YOUR_API_KEY');
define('AWS_SECRET', 'YOUR_API_SECRET');
define('AWS_S3_BUCKET', 'YOUR_BUCKET_NAME');
define('AWS_S3_PREFIX', '');
// Set the region of your bucket
define('AWS_S3_REGION', 'us-east-1');
// Use AWS_S3_OPTIONS to configure custom end-point, like Minio
define('AWS_S3_OPTIONS', json_encode(['version' => 'latest', 'endpoint' => 'https://my.minio.io', 'use_path_style_endpoint' => true]));
- If the S3 prefix is defined, all files will be save to
s3://YOUR_BUCKET/YOUR_PREFIX/path/to/object
.