Skip to content

rongfengliang/cube.js-s3-filerepository

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cube.js s3 S3FileRepository

test with minio && use json5 for security json parse

Usage

  • add .env file
CUBEJS_S3_ENDPOINT=localhost
CUBEJS_S3_PORT=9000
CUBEJS_S3_SSL=false
CUBEJS_S3_ACCESSKEY=minio123
CUBEJS_s3_SECRETKEY=demoapp
CUBEJS_S3_BUCKET=demo
  • cube.js file
const myS3FileRepository = require("@dalongrong/cube-s3repository")

module.exports = {
    ...
    repositoryFactory: myS3FileRepository.repositoryFactory,
    ...
};

Some Notes

  • 2.x is not same as 1.x version