Home

Awesome

Let's Chat - S3 Plugin

Add S3 file support to Let's Chat.

Install

npm install lets-chat-s3

Configure

YAML

Add (and customize) these settings to your settings.yml file:

files:
  enable: true
  provider: s3

  s3:
    accessKeyId: AKIAJ...
    secretAccessKey: N+BC2br8YbA...
    bucket: lets-chat
    region: us-west-2
    endpoint:
    style:
Environment Variables

Alternatively, configure using environment variables:

YAML PathEnv Variable
files.enableLCB_FILES_ENABLE
files.providerLCB_FILES_PROVIDER
files.s3.accessKeyIdLCB_FILES_S3_ACCESS_KEY_ID
files.s3.secretAccessKeyLCB_FILES_S3_SECRET_ACCESS_KEY
files.s3.bucketLCB_FILES_S3_BUCKET
files.s3.regionLCB_FILES_S3_REGION
files.s3.endpointLCB_FILES_S3_ENDPOINT
files.s3.styleLCB_FILES_S3_STYLE